Skip to content

Commit 29ba121

Browse files
committed
Clean up code style
1 parent 6c9a160 commit 29ba121

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Rector/MethodCall/JsonCallToExplicitJsonCallRector.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use PhpParser\Node;
88
use PhpParser\Node\Expr\MethodCall;
99
use PhpParser\Node\Identifier;
10+
use PhpParser\Node\Scalar\String_;
1011
use PHPStan\Type\ObjectType;
1112
use Rector\Core\Rector\AbstractRector;
1213
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
@@ -67,7 +68,7 @@ private function updateCall(MethodCall $methodCall): ?MethodCall
6768
$arg = $methodCall->getArgs()[0];
6869
$argValue = $arg->value;
6970

70-
if (! $argValue instanceof Node\Scalar\String_) {
71+
if (! $argValue instanceof String_) {
7172
return null;
7273
}
7374

0 commit comments

Comments
 (0)