Skip to content

Commit d553e7d

Browse files
committed
Update NodeScopeResolver.php
1 parent c56e097 commit d553e7d

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
@@ -5700,6 +5700,7 @@ private function processAssignVar(
57005700

57015701
if (
57025702
$var === $originalVar
5703+
&& $var->dim !== null
57035704
&& $scope->hasExpressionType($var)->yes()
57045705
) {
57055706
$assignedPropertyExpr = new SetExistingOffsetValueTypeExpr(

0 commit comments

Comments
 (0)