Total Complexity | 5 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
21 | class OptionsResolver extends SymfonyOptionsResolver |
||
22 | { |
||
23 | /** |
||
24 | * @throws \Symfony\Component\OptionsResolver\Exception\AccessException |
||
25 | * @throws \Exception |
||
26 | */ |
||
27 | 7 | public function setDefaults(array $defaults) |
|
28 | { |
||
29 | 7 | return parent::setDefaults(array_keys_with_value($defaults)); |
|
30 | } |
||
31 | |||
32 | /** |
||
33 | * @throws \Exception |
||
34 | */ |
||
35 | 9 | public function resolve(array $options = []): array |
|
42 | } |
||
43 | |||
44 | 4 | private function processDotNotatedValues(array $resolvedValues): array |
|
56 |