Skip to content

Commit 8734369

Browse files
committed
Update NodeScopeResolver.php
1 parent dc76ac6 commit 8734369

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Analyser/NodeScopeResolver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5612,6 +5612,7 @@ private function processAssignVar(
56125612

56135613
if (
56145614
$var === $originalVar
5615+
&& $var->dim !== null
56155616
&& $scope->hasExpressionType($var)->yes()
56165617
) {
56175618
$assignedPropertyExpr = new SetExistingOffsetValueTypeExpr(

0 commit comments

Comments
 (0)