Skip to content

Commit 92d14ea

Browse files
authored
Adjustment for DateRangeFilter
1 parent ff38951 commit 92d14ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Views/Filters/DateRangeFilter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function getKeys(): array
2828
return ['minDate' => '', 'maxDate' => ''];
2929
}
3030

31-
public function validate(array|string $values): array|bool
31+
public function validate(array|string|null $values): array|bool
3232
{
3333
$this->getOptions();
3434
$this->getConfigs();
@@ -197,7 +197,7 @@ public function getFilterPillValue($value): array|string|bool|null
197197
return '';
198198
}
199199

200-
public function isEmpty(array|string $value): bool
200+
public function isEmpty(array|string|null $value): bool
201201
{
202202
$values = [];
203203
if (is_array($value)) {

0 commit comments

Comments
 (0)