| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class BuildplanSignatureCreation implements BuildplanSignatureCreationInterface |
||
| 8 | { |
||
| 9 | |||
| 10 | 1 | public function createSignature(array $modules, int $crewUsage): string |
|
| 11 | { |
||
| 12 | 1 | $ids = array_map(fn(ModuleInterface $module) => $module->getId(), $modules); |
|
| 13 | |||
| 14 | 1 | return $this->createSignatureByModuleIds($ids, $crewUsage); |
|
| 15 | } |
||
| 16 | |||
| 17 | 1 | public function createSignatureByModuleIds(array &$moduleIds, int $crewUsage): string |
|
| 22 | } |
||
| 23 | } |
||
| 24 |