From a214b1438837a30631539d82e568bdc592f4f161 Mon Sep 17 00:00:00 2001 From: orklah Date: Sat, 25 Sep 2021 18:38:01 +0200 Subject: [PATCH] CS fix --- src/Psalm/Internal/PhpVisitor/SimpleNameResolver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/PhpVisitor/SimpleNameResolver.php b/src/Psalm/Internal/PhpVisitor/SimpleNameResolver.php index 133fe825584..04d41daa332 100644 --- a/src/Psalm/Internal/PhpVisitor/SimpleNameResolver.php +++ b/src/Psalm/Internal/PhpVisitor/SimpleNameResolver.php @@ -175,7 +175,7 @@ private function resolveSignature(PhpParser\NodeAbstract $node): void */ private function resolveType(?Node $node): ?Node { - if ($node instanceof Node\NullableType) { + if ($node instanceof NullableType) { $node->type = $this->resolveType($node->type); return $node;