Total Complexity | 7 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class IdentityCollector implements CollectorInterface, IndexCollectorInterface |
||
10 | { |
||
11 | use CollectorTrait; |
||
12 | |||
13 | private array $identities = []; |
||
14 | |||
15 | public function getCollected(): array |
||
16 | { |
||
17 | return $this->identities; |
||
18 | } |
||
19 | |||
20 | public function collect(?IdentityInterface $identity): void |
||
33 | ]; |
||
34 | } |
||
35 | |||
36 | private function reset(): void |
||
39 | } |
||
40 | |||
41 | public function getIndexData(): array |
||
48 | ], |
||
49 | ]; |
||
52 |
This check looks for private methods that have been defined, but are not used inside the class.