| Conditions | 4 |
| Paths | 2 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 20 |
| Changes | 0 | ||
| 1 | <?php |
||
| 42 | public function enterNode(Node $node) |
||
| 43 | { |
||
| 44 | if ($node instanceof StaticCall && $node->name instanceof Identifier && $node->name->name === 'templateMethod') { |
||
| 45 | $node->name = new Identifier($this->method); |
||
| 46 | $node->args = $this->args; |
||
| 47 | |||
| 48 | return $node; |
||
| 49 | } |
||
| 50 | |||
| 51 | return $this->updateReflectiveMethodInvocation2ndParam($node); |
||
| 52 | } |
||
| 53 | |||
| 65 |