| Total Complexity | 5 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class WarpCoreSystemData extends AbstractReactorSystemData |
||
| 11 | { |
||
| 12 | function getSystemType(): ShipSystemTypeEnum |
||
|
|
|||
| 13 | { |
||
| 14 | return ShipSystemTypeEnum::SYSTEM_WARPCORE; |
||
| 15 | } |
||
| 16 | |||
| 17 | public function getIcon(): string |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getLoadUnits(): int |
||
| 23 | { |
||
| 24 | return ReactorWrapperInterface::WARPCORE_LOAD; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getLoadCost(): array |
||
| 28 | { |
||
| 29 | return ReactorWrapperInterface::WARPCORE_LOAD_COST; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getCapacity(): int |
||
| 35 | } |
||
| 36 | } |
||
| 37 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.