From ea54485ffe88fb57dd631e7ec2366a74cebfaca9 Mon Sep 17 00:00:00 2001 From: "a.shamavov" Date: Tue, 4 Mar 2025 16:07:01 +0500 Subject: [PATCH] =?UTF-8?q?style:=20=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81=D1=82=D0=B8=D0=BB=D0=B5?= =?UTF-8?q?=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Filter/DateRange.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Filter/DateRange.php b/src/Filter/DateRange.php index ed38d2b..0f10384 100644 --- a/src/Filter/DateRange.php +++ b/src/Filter/DateRange.php @@ -24,7 +24,7 @@ final class DateRange extends HttpFilter $fromDate = \DateTimeImmutable::createFromFormat('Y-m-d', $fromDate ?? ''); $toDate = \DateTimeImmutable::createFromFormat('Y-m-d', $toDate ?? ''); - if (! $fromDate && ! $toDate){ + if (! $fromDate && ! $toDate) { throw new FilterParameterValueIsNullException($this->field); } -- GitLab