| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 43 | 1 | public function getPossibleBuildLocations(): StationLocationEnum |
|
| 44 | { |
||
| 45 | 1 | return match ($this) { |
|
| 46 | 1 | self::SHIPYARD, |
|
| 47 | 1 | self::DEPOT_LARGE, |
|
| 48 | 1 | self::DEPOT_SMALL => StationLocationEnum::BUILDABLE_INSIDE_SYSTEM, |
|
| 49 | 1 | self::BASE => StationLocationEnum::BUILDABLE_OVER_SYSTEM, |
|
| 50 | 1 | self::OUTPOST => StationLocationEnum::BUILDABLE_OUTSIDE_SYSTEM, |
|
| 51 | 1 | default => StationLocationEnum::BUILDABLE_EVERYWHERE |
|
| 52 | 1 | }; |
|
| 55 |