Skip to content

Commit 7897869

Browse files
committed
return boolean as expected
1 parent e6069cd commit 7897869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Views/Filters/SelectFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function getKeys(): array
2626
return collect($this->getOptions())
2727
->keys()
2828
->map(fn ($value) => (string)$value)
29-
->filter(fn ($value) => strlen($value))
29+
->filter(fn ($value) => strlen($value) > 0)
3030
->values()
3131
->toArray();
3232
}

0 commit comments

Comments
 (0)