| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | 2 | public static function addExpertise( |
|
| 14 | SpacecraftInterface|SpacecraftWrapperInterface $target, |
||
| 15 | SkillEnhancementEnum $trigger, |
||
| 16 | int $percentage = 100 |
||
| 17 | ): void { |
||
| 18 | |||
| 19 | 2 | $crewEnhancement = |
|
| 20 | 2 | Init::getContainer()->get(CrewEnhancementInterface::class); |
|
| 21 | |||
| 22 | |||
| 23 | 2 | $crewEnhancement->addExpertise($target, $trigger, $percentage); |
|
| 24 | } |
||
| 26 |