Conditions | 3 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
56 | 10 | private function loop(array $children) |
|
57 | { |
||
58 | /** @var Node|array|Closure $child */ |
||
59 | 10 | foreach ($children as $child) { |
|
60 | 10 | $type = $this->realType($child); |
|
61 | 10 | $this->checkType($type); |
|
62 | 9 | $this->child($type === 'Closure' ? call_user_func($child) : $child); |
|
63 | 9 | } |
|
64 | 9 | } |
|
65 | |||
97 |
This check marks private properties in classes that are never used. Those properties can be removed.