eveseat/eveapi

View on GitHub
src/Models/Universe/UniverseStation.php

Summary

Maintainability
A
0 mins
Test Coverage

The method contracts_from is not named in camelCase.
Open

    public function contracts_from()
    {
        return $this->morphMany(ContractDetail::class, 'start_location');
    }

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

    public function contracts_to()
    {
        return $this->morphMany(ContractDetail::class, 'end_location');
    }

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

    public function solar_system()
    {
        return $this->belongsTo(SolarSystem::class, 'system_id', 'system_id')
            ->withDefault();
    }

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

There are no issues that match your filters.

Category
Status