Total Complexity | 5 |
Total Lines | 44 |
Duplicated Lines | 0 % |
Coverage | 75% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
9 | class ConfigHelper |
||
10 | { |
||
11 | /** |
||
12 | * @return array<string, array<int, string>|bool> |
||
13 | */ |
||
14 | 2 | public function getStandardConfig(): array |
|
24 | ]; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param array<int|string, mixed> $config |
||
29 | * |
||
30 | * @throws Exception if a required field is not set |
||
31 | */ |
||
32 | 4 | public function validateConfig(array $config): void |
|
56 |