Skip to content

Commit f71aeb5

Browse files
committed
Fix
1 parent a9c7e1c commit f71aeb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Analyser/MutatingScope.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ private function resolveType(string $exprString, Expr $node): Type
10901090
if ($part instanceof InterpolatedStringPart) {
10911091
$partType = new ConstantStringType($part->value);
10921092
} else {
1093-
$partType = $this->getType($part);
1093+
$partType = $this->getType($part)->toString();
10941094
}
10951095
if ($resultType === null) {
10961096
$resultType = $partType;

0 commit comments

Comments
 (0)