| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public function action(FleetWrapperInterface $fleetWrapper, PirateReactionInterface $pirateReaction): ?PirateBehaviourEnum |
||
| 17 | { |
||
| 18 | foreach ($fleetWrapper->getShipWrappers() as $wrapper) { |
||
| 19 | $this->shipSystemManager->deactivate($wrapper, ShipSystemTypeEnum::SYSTEM_SHIELDS, true); |
||
| 20 | } |
||
| 21 | |||
| 22 | return null; |
||
| 23 | } |
||
| 25 |