Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
20 | public function createBy( |
||
21 | int $userId, |
||
22 | int $rumpId, |
||
23 | int $buildplanId |
||
24 | ): SpacecraftConfiguratorInterface { |
||
25 | |||
26 | $configurator = $this->spacecraftCreator->createBy( |
||
27 | $userId, |
||
28 | $rumpId, |
||
29 | $buildplanId, |
||
30 | new ShipCreationConfig($this->buildplanRepository, $buildplanId) |
||
31 | ); |
||
32 | |||
33 | return $configurator; |
||
34 | } |
||
36 |