| Total Complexity | 6 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Coverage | 93.33% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class ValidatorCollector implements CollectorInterface, IndexCollectorInterface |
||
| 11 | { |
||
| 12 | use CollectorTrait; |
||
| 13 | |||
| 14 | private array $validations = []; |
||
| 15 | |||
| 16 | 1 | public function getCollected(): array |
|
| 17 | { |
||
| 18 | 1 | return $this->validations; |
|
| 19 | } |
||
| 20 | |||
| 21 | 1 | public function collect(mixed $value, iterable $rules, Result $result): void |
|
| 32 | ]; |
||
| 33 | } |
||
| 34 | |||
| 35 | 1 | private function reset(): void |
|
| 38 | } |
||
| 39 | |||
| 40 | 1 | public function getIndexData(): array |
|
| 55 |
This check looks for private methods that have been defined, but are not used inside the class.