Skip to content

Commit 6037619

Browse files
committed
Update QuerySimulation.php
1 parent 288f4f9 commit 6037619

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/QueryReflection/QuerySimulation.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ public static function simulateParamValueType(Type $paramType, bool $preparedPar
3636
return (string) $paramType->getValue();
3737
}
3838

39-
if ($paramType instanceof ArrayType) {
40-
return self::simulateParamValueType($paramType->getItemType(), $preparedParam);
39+
if ($paramType->isArray()->yes()) {
40+
return self::simulateParamValueType($paramType->getIterableValueType(), $preparedParam);
4141
}
4242

4343
if (

0 commit comments

Comments
 (0)