We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca2c937 commit 95fbd57Copy full SHA for 95fbd57
src/Type/Php/ParseStrParameterOutTypeExtension.php
@@ -53,7 +53,7 @@ public function getParameterOutTypeFromFunctionCall(FunctionReflection $function
53
54
return new ArrayType(
55
new UnionType([new StringType(), new IntegerType()]),
56
- new UnionType([new ArrayType(new MixedType(), new MixedType()), $valueType]),
+ new UnionType([new ArrayType(new MixedType(), new MixedType(true)), $valueType]),
57
);
58
}
59
0 commit comments