| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 14 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 15 | public function resolve(array $data): array | ||
| 16 |     { | ||
| 17 | return (new OptionsResolver()) | ||
| 18 |             ->setDefined('id') | ||
| 19 |             ->setAllowedTypes('id', 'string') | ||
| 20 |             ->setRequired('name') | ||
| 21 |             ->setAllowedTypes('name', 'string') | ||
| 22 |             ->setDefined('filters') | ||
| 23 |             ->setAllowedTypes('filters', 'array') | ||
| 24 |             ->setNormalizer('filters', function (Options $options, array $values) { | ||
| 25 | return $this->normalizeFilters($options, $values); | ||
| 26 | }) | ||
| 27 | ->resolve($data); | ||
| 28 | } | ||
| 29 | |||
| 43 | 
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.