Conditions | 5 |
Paths | 4 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
17 | public function leaveNode(Node $node) |
||
18 | { |
||
19 | if (!$node instanceof Node\Stmt\Property) { |
||
20 | return null; |
||
21 | } |
||
22 | |||
23 | if ($node->isPrivate() || $node->isStatic()) { |
||
24 | return null; |
||
25 | } |
||
26 | |||
27 | foreach ($node->props as $prop) { |
||
28 | $this->properties[] = $prop->name->name; |
||
29 | } |
||
30 | |||
31 | return null; |
||
32 | } |
||
33 | |||
38 | } |