Skip to content

Commit 7745ec6

Browse files
Fix CS
1 parent 5cc77b0 commit 7745ec6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Rector/MethodCall/ContainerBindConcreteWithClosureOnlyRector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
namespace RectorLaravel\Rector\MethodCall;
44

55
use PhpParser\Node;
6-
use PhpParser\Node\Expr\Variable;
76
use PhpParser\Node\Const_;
87
use PhpParser\Node\Expr\Closure;
98
use PhpParser\Node\Expr\MethodCall;
9+
use PhpParser\Node\Expr\Variable;
1010
use PHPStan\Type\ObjectType;
1111
use PHPStan\Type\Type;
1212
use Rector\PHPStanStaticTypeMapper\Enum\TypeKind;
@@ -75,7 +75,7 @@ public function refactor(Node $node): ?MethodCall
7575
$classString = $node->getArgs()[0]->value;
7676
$concreteNode = $node->getArgs()[1]->value;
7777

78-
if ($classString instanceof Node\Expr\Variable) {
78+
if ($classString instanceof Variable) {
7979
return null;
8080
}
8181

0 commit comments

Comments
 (0)