Skip to content

Commit

Permalink
Adjustment for DateRangeFilter (#2064)
Browse files Browse the repository at this point in the history
  • Loading branch information
lrljoe authored Nov 17, 2024
1 parent ff38951 commit c5a3a1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Views/Filters/DateRangeFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function getKeys(): array
return ['minDate' => '', 'maxDate' => ''];
}

public function validate(array|string $values): array|bool
public function validate(array|string|null $values): array|bool
{
$this->getOptions();
$this->getConfigs();
Expand Down Expand Up @@ -197,7 +197,7 @@ public function getFilterPillValue($value): array|string|bool|null
return '';
}

public function isEmpty(array|string $value): bool
public function isEmpty(array|string|null $value): bool
{
$values = [];
if (is_array($value)) {
Expand Down

0 comments on commit c5a3a1d

Please sign in to comment.