| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | public function handleShipDestruction( |
||
| 19 | ?ShipDestroyerInterface $destroyer, |
||
| 20 | ShipWrapperInterface $destroyedShipWrapper, |
||
| 21 | ShipDestructionCauseEnum $cause, |
||
| 22 | InformationInterface $informations |
||
| 23 | ): void { |
||
| 24 | |||
| 25 | $this->shipTakeoverManager->cancelBothTakeover( |
||
| 26 | $destroyedShipWrapper->get(), |
||
| 27 | ', da das Schiff zerstört wurde' |
||
| 28 | ); |
||
| 31 |