Skip to content

Commit 95fbd57

Browse files
committed
ParseStrParameterOutTypeExtension - use explicit mixed array item type
1 parent ca2c937 commit 95fbd57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/Php/ParseStrParameterOutTypeExtension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function getParameterOutTypeFromFunctionCall(FunctionReflection $function
5353

5454
return new ArrayType(
5555
new UnionType([new StringType(), new IntegerType()]),
56-
new UnionType([new ArrayType(new MixedType(), new MixedType()), $valueType]),
56+
new UnionType([new ArrayType(new MixedType(), new MixedType(true)), $valueType]),
5757
);
5858
}
5959

0 commit comments

Comments
 (0)