Conditions | 5 |
Paths | 2 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 30 |
Changes | 0 |
1 | <?php |
||
54 | private function updateReflectiveMethodInvocation2ndParam(Node $node) : Node |
||
55 | { |
||
56 | if ($node instanceof MethodCall && $node->name instanceof Identifier && $node->name->name === 'proceed' && $node->var instanceof New_) { |
||
57 | $node->var->args[2] = $this->proceedArg; |
||
58 | |||
59 | return $node; |
||
60 | } |
||
61 | |||
62 | return $node; |
||
63 | } |
||
64 | } |
||
65 |