Conditions | 3 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 3 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
43 | 13 | public function enterNode(Node $node) |
|
44 | { |
||
45 | 13 | if ($node instanceof StaticCall && $node->name === 'templateMethod') { |
|
46 | 13 | $node->name = $this->method; |
|
47 | 13 | $node->args = $this->args; |
|
48 | |||
49 | 13 | return $node; |
|
50 | } |
||
51 | |||
52 | 13 | return $this->updateReflectiveMethodInvocation2ndParam($node); |
|
53 | } |
||
54 | |||
66 |