Skip to content

Commit 32e8d95

Browse files
Revert
1 parent 4487dca commit 32e8d95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/Php/FilterFunctionReturnTypeHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public function getType(Type $inputType, ?Type $filterType, ?Type $flagsType): T
197197
}
198198

199199
if ($hasRequireArrayFlag->yes()) {
200-
$type = new ArrayType($inputArrayKeyType ?? new MixedType(), $type);
200+
$type = new ArrayType($inputArrayKeyType ?? $mixedType, $type);
201201
if (!$inputIsArray->yes()) {
202202
$type = TypeCombinator::union($type, $defaultType);
203203
}

0 commit comments

Comments
 (0)