We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb7304d commit a4ca889Copy full SHA for a4ca889
src/Type/Nette/JsonDecodeDynamicReturnTypeExtension.php
@@ -6,6 +6,7 @@
6
use PhpParser\Node\Arg;
7
use PhpParser\Node\Expr\ClassConstFetch;
8
use PhpParser\Node\Expr\StaticCall;
9
+use PhpParser\Node\Identifier;
10
use PhpParser\Node\Name;
11
use PHPStan\Analyser\Scope;
12
use PHPStan\Reflection\MethodReflection;
@@ -91,7 +92,7 @@ private function isForceArray(array $args): bool
91
92
$classConstFetch = $secondArg->value;
93
94
if ($classConstFetch->class instanceof Name) {
- if (! $classConstFetch->name instanceof \PhpParser\Node\Identifier) {
95
+ if (! $classConstFetch->name instanceof Identifier) {
96
return false;
97
}
98
0 commit comments