Skip to content

Commit 9ba6411

Browse files
Fix
1 parent 1791c8b commit 9ba6411

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Analyser/ExprHandler/AssignHandler.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,8 @@ public function processAssignVar(
327327
if (is_int($keyValue) && $keyValue >= $implicitIndex) {
328328
$implicitIndex = $keyValue + 1;
329329
}
330+
} else {
331+
$implicitIndex = null;
330332
}
331333
}
332334

0 commit comments

Comments
 (0)