| Total Complexity | 7 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 5% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class FlightCompanyFactory |
||
| 12 | { |
||
| 13 | 1 | public function __construct(private PreFlightConditionsCheckInterface $preFlightConditionsCheck) {} |
|
| 14 | |||
| 15 | public function create(SpacecraftWrapperInterface $leadWrapper): FlightCompany |
||
| 23 | ); |
||
| 24 | } |
||
| 25 | |||
| 26 | private function getSubject(SpacecraftWrapperInterface $leadWrapper): SpacecraftWrapperInterface|FleetWrapperInterface |
||
| 39 | } |
||
| 40 | |||
| 41 | /** @return Collection<int, covariant SpacecraftWrapperInterface> */ |
||
| 42 | private function getMembers(SpacecraftWrapperInterface|FleetWrapperInterface $subject): Collection |
||
| 49 |