Skip to content

Commit cc63921

Browse files
committed
simplify
1 parent 5374f42 commit cc63921

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Analyser/NodeScopeResolver.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6253,9 +6253,6 @@ private function produceArrayDimFetchAssignValueToWrite(array $dimFetchStack, ar
62536253
} else {
62546254
$offsetType = $scope->getType($dimFetch->dim);
62556255
$offsetValueType = $offsetValueType->getOffsetValueType($offsetType);
6256-
if ($offsetValueType instanceof ErrorType) {
6257-
$offsetValueType = new ConstantArrayType([], []);
6258-
}
62596256
}
62606257

62616258
$additionalExpressions[] = [$dimFetch, $offsetValueType];

0 commit comments

Comments
 (0)