Total Complexity | 6 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | final class ValidatorCollector implements SummaryCollectorInterface |
||
13 | { |
||
14 | use CollectorTrait; |
||
15 | |||
16 | private array $validations = []; |
||
17 | |||
18 | public function getCollected(): array |
||
21 | } |
||
22 | |||
23 | public function collect(mixed $value, Result $result, callable|iterable|object|string|null $rules = null): void |
||
39 | ]; |
||
40 | } |
||
41 | |||
42 | public function getSummary(): array |
||
53 | ], |
||
54 | ]; |
||
55 | } |
||
56 | |||
57 | private function reset(): void |
||
62 |
This check looks for private methods that have been defined, but are not used inside the class.