Skip to content

Commit 3eea03b

Browse files
committed
No need to resolve late-resolvable types in getVariableType
1 parent 21d86f0 commit 3eea03b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Analyser/MutatingScope.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ public function getVariableType(string $variableName): Type
703703
return new MixedType();
704704
}
705705

706-
return TypeUtils::resolveLateResolvableTypes($this->expressionTypes[$varExprString]->getType());
706+
return $this->expressionTypes[$varExprString]->getType();
707707
}
708708

709709
/**

0 commit comments

Comments
 (0)