From 4a7e8579887aa9d2d9ce5f980bc4b6450a5f0294 Mon Sep 17 00:00:00 2001 From: "a.shamavov" Date: Tue, 4 Mar 2025 09:50:56 +0500 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=94=D0=BE=D1=80=D0=B0=D0=B1=D0=BE?= =?UTF-8?q?=D1=82=D0=BA=D0=B0=20=D1=84=D0=B8=D0=BB=D1=8C=D1=82=D1=80=D0=B0?= =?UTF-8?q?=20In?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Filter/In.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Filter/In.php b/src/Filter/In.php index ab23187..a8c63f7 100644 --- a/src/Filter/In.php +++ b/src/Filter/In.php @@ -13,7 +13,7 @@ final class In extends HttpFilter /** @throws FilterParameterValueIsNullException */ public function addToQuery(QueryBuilder $queryBuilder): QueryBuilder { - if ($this->getHttpValue() === null) { + if ($this->getHttpValue() === null || ! is_array($this->getHttpValue())) { throw new FilterParameterValueIsNullException($this->field); } -- GitLab