Skip to content

Commit 7d8b43f

Browse files
committed
[ci-review] Rector Rectify
1 parent 7cfdfec commit 7d8b43f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/NodeTypeResolver/PHPStan/Scope/PHPStanNodeScopeResolver.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
namespace Rector\NodeTypeResolver\PHPStan\Scope;
66

7+
use PHPStan\Analyser\Fiber\FiberScope;
78
use Error;
89
use PhpParser\Node;
910
use PhpParser\Node\Arg;
@@ -158,7 +159,7 @@ public function processNodes(
158159
&$nodeCallback,
159160
$filePath,
160161
): void {
161-
if ($mutatingScope instanceof \PHPStan\Analyser\Fiber\FiberScope) {
162+
if ($mutatingScope instanceof FiberScope) {
162163
$mutatingScope = $mutatingScope->toMutatingScope();
163164
}
164165

0 commit comments

Comments
 (0)