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