Skip to content

Commit

Permalink
Fix after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 16, 2025
1 parent 06507a5 commit 5914d32
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function getTypeFromFunctionCall(FunctionReflection $functionReflection,
}
$newConstantArrayType = $newConstantArrayBuilder->getArray();
if ($constantArray->isList()->yes()) {
$newConstantArrayType = AccessoryArrayListType::intersectWith($newConstantArrayType);
$newConstantArrayType = TypeCombinator::intersect($newConstantArrayType, new AccessoryArrayListType());
}
$arrayTypes[] = $newConstantArrayType;
}
Expand Down

0 comments on commit 5914d32

Please sign in to comment.