src/Models/Sde/Constellation.php
The method solar_systems is not named in camelCase. Open
Open
public function solar_systems()
{
return $this->hasMany(Planet::class, 'constellation_id', 'constellation_id');
}
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}