1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 01:09:38 +01:00
This commit is contained in:
orklah 2021-09-25 18:38:01 +02:00
parent f4fa1f7a1b
commit a214b14388

View File

@ -175,7 +175,7 @@ class SimpleNameResolver extends NodeVisitorAbstract
*/ */
private function resolveType(?Node $node): ?Node private function resolveType(?Node $node): ?Node
{ {
if ($node instanceof Node\NullableType) { if ($node instanceof NullableType) {
$node->type = $this->resolveType($node->type); $node->type = $this->resolveType($node->type);
return $node; return $node;