Skip to content

Commit dcdfcef

Browse files
committed
reflect new comment
1 parent 146c533 commit dcdfcef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Type/Php/ArrayMergeFunctionDynamicReturnTypeExtension.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ public function getTypeFromFunctionCall(FunctionReflection $functionReflection,
116116
}
117117
} else {
118118
foreach ($offsetTypes as $key => [$hasOffsetValue, $offsetValueType]) {
119+
// more precise values-types will be calculated elsewhere.
120+
// just remember the offset key.
119121
$offsetTypes[$key] = [
120122
$hasOffsetValue->and(TrinaryLogic::createMaybe()),
121123
new MixedType(),

0 commit comments

Comments
 (0)