src/Models/Sde/Moon.php
The method moon_report is not named in camelCase. Open
Open
public function moon_report()
{
return $this->hasOne(UniverseMoonReport::class, 'moon_id', 'moon_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() {
}
}
Source
The method solar_system is not named in camelCase. Open
Open
public function solar_system()
{
return $this->belongsTo(SolarSystem::class, 'system_id', 'system_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() {
}
}