Skip to content

Commit 34130cb

Browse files
committed
[ci-review] Rector Rectify
1 parent d442087 commit 34130cb

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎rules/Naming/Matcher/CallMatcher.php‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ final class CallMatcher
1515
/**
1616
* @return FuncCall|StaticCall|MethodCall|null
1717
*/
18-
public function matchCall(Foreach_ $node): ?Node
18+
public function matchCall(Foreach_ $foreach): ?Node
1919
{
20-
if ($node->expr instanceof MethodCall) {
21-
return $node->expr;
20+
if ($foreach->expr instanceof MethodCall) {
21+
return $foreach->expr;
2222
}
2323

24-
if ($node->expr instanceof StaticCall) {
25-
return $node->expr;
24+
if ($foreach->expr instanceof StaticCall) {
25+
return $foreach->expr;
2626
}
2727

28-
if ($node->expr instanceof FuncCall) {
29-
return $node->expr;
28+
if ($foreach->expr instanceof FuncCall) {
29+
return $foreach->expr;
3030
}
3131

3232
return null;

0 commit comments

Comments
 (0)