diff --git a/src/Rules.php b/src/Rules.php index 72447ab..718d552 100644 --- a/src/Rules.php +++ b/src/Rules.php @@ -160,7 +160,7 @@ return true; } - private function eval_array(string $value, Scope $scope): bool { + private function eval_array(string|array $value, Scope $scope): bool { // Arrays in POST parameters should already be decoded if ($scope === Scope::POST) { return is_array($value);