| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 41 | 7 | protected function configureOptions(OptionsResolver $resolver): void |
|
| 42 | { |
||
| 43 | $resolver |
||
| 44 | 7 | ->setDefined( |
|
| 45 | [ |
||
| 46 | 7 | 'viewFile', |
|
| 47 | 'viewData', |
||
| 48 | ] |
||
| 49 | ) |
||
| 50 | 7 | ->addAllowedTypes('viewFile', ['string']) |
|
| 51 | 7 | ->addAllowedTypes('viewData', ['array']) |
|
| 52 | 7 | ->setDefaults( |
|
| 53 | [ |
||
| 54 | 7 | 'viewFile' => '', |
|
| 55 | 'viewData' => [], |
||
| 56 | ] |
||
| 60 |