From 04fc521a57c4b9c9faa9e5c518de3a0d04e4a631 Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Sun, 7 May 2023 18:37:53 +0100 Subject: [PATCH] fix: filter values are not validated (#3795) --- src/Query/SuspendedFilterGambit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Query/SuspendedFilterGambit.php b/src/Query/SuspendedFilterGambit.php index ebb2771..ae33ded 100644 --- a/src/Query/SuspendedFilterGambit.php +++ b/src/Query/SuspendedFilterGambit.php @@ -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;