| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | public function action(FleetWrapperInterface $fleet, PirateReactionInterface $pirateReaction): ?PirateBehaviourEnum |
||
| 26 | { |
||
| 27 | $leadWrapper = $fleet->getLeadWrapper(); |
||
| 28 | $leadShip = $leadWrapper->get(); |
||
|
|
|||
| 29 | |||
| 30 | /** |
||
| 31 | $supportFleet = $this->pirateCreation->createPirateFleet($leadShip); |
||
| 32 | $this->logger->logf( |
||
| 33 | ' created support fleet %d "%s" here %s', |
||
| 34 | $supportFleet->getId(), |
||
| 35 | $supportFleet->getName(), |
||
| 36 | $supportFleet->getLeadShip()->getSectorString() |
||
| 37 | ); |
||
| 38 | |||
| 39 | $pirateReaction->react( |
||
| 40 | $supportFleet, |
||
| 41 | PirateReactionTriggerEnum::ON_SUPPORT_CALL |
||
| 42 | );*/ |
||
| 43 | |||
| 44 | return null; |
||
| 45 | } |
||
| 47 |