Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 3 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | 3 | protected function triggerSpecific( |
|
26 | ShipWrapperInterface $wrapper, |
||
27 | FlightRouteInterface $flightRoute, |
||
28 | MessageCollectionInterface $messages |
||
29 | ): void { |
||
30 | 3 | if ($wrapper->get()->isTractored()) { |
|
31 | 1 | return; |
|
32 | } |
||
33 | |||
34 | 2 | if ($flightRoute->getRouteMode() === RouteModeEnum::ROUTE_MODE_TRANSWARP) { |
|
35 | 1 | $this->shipSystemManager->deactivate($wrapper, ShipSystemTypeEnum::SYSTEM_TRANSWARP_COIL, true); |
|
36 | } |
||
39 |