Skip to content

Commit

Permalink
fix: filter values are not validated (#3795)
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 authored May 7, 2023
1 parent d0c4fde commit 04fc521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Query/SuspendedFilterGambit.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function getFilterKey(): string
return 'suspended';
}

public function filter(FilterState $filterState, string $filterValue, bool $negate)
public function filter(FilterState $filterState, $filterValue, bool $negate)
{
if (! $filterState->getActor()->can('suspend', new Guest())) {
return false;
Expand Down

0 comments on commit 04fc521

Please sign in to comment.