src/Models/Universe/UniverseStation.php
The method contracts_from is not named in camelCase. Open
Open
public function contracts_from()
{
return $this->morphMany(ContractDetail::class, 'start_location');
}
- 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 contracts_to is not named in camelCase. Open
Open
public function contracts_to()
{
return $this->morphMany(ContractDetail::class, 'end_location');
}
- 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')
->withDefault();
}
- 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() {
}
}