Skip to content

Commit f9d55d8

Browse files
committed
Fix psalm
1 parent e4953bf commit f9d55d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/WithFilters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public function removeFilter($filter): void
186186
*/
187187
public function getFilterOptions(string $filter): array
188188
{
189-
return array_filter(array_keys($this->filters()[$filter]->options() ?? []));
189+
return array_filter(array_keys($this->filters()[$filter]->options()));
190190
}
191191

192192
/**

0 commit comments

Comments
 (0)