Skip to content

Commit d55a9e7

Browse files
committed
[ci-review] Rector Rectify
1 parent ef4134d commit d55a9e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/CodeQuality/Rector/Class_/TypeWillReturnCallableArrowFunctionRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public function refactor(Node $node): ?Class_
147147
}
148148

149149
$innerClosure = $this->matchInnerClosure($node);
150-
if (! $innerClosure instanceof \PhpParser\Node) {
150+
if (! $innerClosure instanceof Node) {
151151
return null;
152152
}
153153

0 commit comments

Comments
 (0)