Skip to content

Commit 4d67d4e

Browse files
Try
1 parent c06bad0 commit 4d67d4e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Analyser/MutatingScope.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3956,7 +3956,9 @@ public function mergeWith(?self $otherScope): self
39563956

39573957
$expr = $expressionTypeHolder->getExpr();
39583958

3959-
return $expr instanceof Variable || $expr instanceof VirtualNode;
3959+
return $expr instanceof Variable
3960+
|| $expr instanceof FuncCall
3961+
|| $expr instanceof VirtualNode;
39603962
};
39613963

39623964
$mergedExpressionTypes = array_filter($mergedExpressionTypes, $filter);

0 commit comments

Comments
 (0)