Skip to content

Commit 2e264fb

Browse files
committed
Update QueryReflection.php
1 parent f69968d commit 2e264fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/QueryReflection/QueryReflection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ public function resolveParameterTypes(Expr $parameter, Scope $scope): Type
440440
$parameterType = $scope->getType($parameter);
441441
if (
442442
$parameter instanceof Expr\Variable
443+
&& !$parameterType->isConstantArray()->yes()
443444
&& $parameterType->isArray()->yes()
444445
&& $parameterType->isIterableAtLeastOnce()->maybe()
445446
) {

0 commit comments

Comments
 (0)