Skip to content

Commit d1ff83b

Browse files
committed
Update AssignHandler.php
1 parent 1af4f78 commit d1ff83b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Analyser/ExprHandler/AssignHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ private function produceArrayDimFetchAssignValueToWrite(array $dimFetchStack, ar
10141014

10151015
} else {
10161016
// when $unionValues=false the array item-type will be replaced with $valueToWrite
1017-
// when $unionValues=true the existing array item-type will be union with $valueToWrite
1017+
// when $unionValues=true the existing array item-type will be union'ed with $valueToWrite -> type gets wider
10181018
$unionValues = false;
10191019
if ($i === 0) {
10201020
$unionValues = true;

0 commit comments

Comments
 (0)