From 176cf137fbaaee2f13adc6998dff9249caf06d7d Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Fri, 17 Oct 2025 14:32:58 +0200 Subject: [PATCH] Filter/Fixup * criteria parameters can be placeholder/null --- includes/components/filter.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/components/filter.class.php b/includes/components/filter.class.php index c58117d0..eb79af3d 100644 --- a/includes/components/filter.class.php +++ b/includes/components/filter.class.php @@ -713,7 +713,7 @@ abstract class Filter [$crType, $colOrFn, $param1, $param2] = array_pad(static::$genericFilter[$cr], 4, null); - $handleEnum = function(int $cr, int $crs, string $col, bool $hasAnyNone, bool $crsAsVal) : ?array + $handleEnum = function(int $cr, int $crs, string $col, ?bool $hasAnyNone, ?bool $crsAsVal) : ?array { if ($hasAnyNone && ($crs == self::ENUM_ANY || $crs == self::ENUM_NONE)) return $this->genericEnum($col, $crs);