Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | 84 | public function trigger( |
|
14 | ShipWrapperInterface $wrapper, |
||
15 | FlightRouteInterface $flightRoute, |
||
16 | MessageCollectionInterface $messages |
||
17 | ): void { |
||
18 | 84 | if ($wrapper->get()->isDestroyed()) { |
|
19 | 15 | return; |
|
20 | } |
||
21 | |||
22 | 69 | $this->triggerSpecific( |
|
23 | 69 | $wrapper, |
|
24 | 69 | $flightRoute, |
|
25 | 69 | $messages |
|
26 | 69 | ); |
|
35 |