Filter/Fixup

* criteria parameters can be placeholder/null
This commit is contained in:
Sarjuuk
2025-10-17 14:32:58 +02:00
parent 830edb8265
commit 176cf137fb

View File

@@ -713,7 +713,7 @@ abstract class Filter
[$crType, $colOrFn, $param1, $param2] = array_pad(static::$genericFilter[$cr], 4, null); [$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)) if ($hasAnyNone && ($crs == self::ENUM_ANY || $crs == self::ENUM_NONE))
return $this->genericEnum($col, $crs); return $this->genericEnum($col, $crs);