Conditions | 4 |
Paths | 4 |
Total Lines | 22 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function enterNode(Node $node) |
||
37 | { |
||
38 | if ($node instanceof Declare_) { |
||
39 | $this->declare[] = $node; |
||
40 | |||
41 | return null; |
||
42 | } |
||
43 | |||
44 | if ($node instanceof Use_) { |
||
45 | $this->use[] = $node; |
||
46 | |||
47 | return null; |
||
48 | } |
||
49 | |||
50 | if ($node instanceof Namespace_) { |
||
51 | $this->namespace = $node; |
||
52 | |||
53 | return null; |
||
54 | } |
||
55 | |||
56 | return $this->enterNodeClass($node); |
||
57 | } |
||
58 | |||
88 |