Skip to content

Commit 5914d32

Browse files
committed
Fix after merge
1 parent 06507a5 commit 5914d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/Php/ArrayChangeKeyCaseFunctionReturnTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function getTypeFromFunctionCall(FunctionReflection $functionReflection,
8383
}
8484
$newConstantArrayType = $newConstantArrayBuilder->getArray();
8585
if ($constantArray->isList()->yes()) {
86-
$newConstantArrayType = AccessoryArrayListType::intersectWith($newConstantArrayType);
86+
$newConstantArrayType = TypeCombinator::intersect($newConstantArrayType, new AccessoryArrayListType());
8787
}
8888
$arrayTypes[] = $newConstantArrayType;
8989
}

0 commit comments

Comments
 (0)