| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | public function action(FleetWrapperInterface $fleet, PirateReactionInterface $pirateReaction): void |
||
| 21 | { |
||
| 22 | $leadWrapper = $fleet->getLeadWrapper(); |
||
| 23 | $leadShip = $leadWrapper->get(); |
||
| 24 | |||
| 25 | $pirateReaction->react( |
||
| 26 | $this->pirateCreation->createPirateFleet($leadShip), |
||
| 27 | PirateReactionTriggerEnum::ON_SUPPORT_CALL |
||
| 28 | ); |
||
| 31 |