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