code: protected function queryValidator(array $params, $without = null): ValidatorInterface
      {
          $without = (array) $without;
  
          return $this->validatorForQuery(
              $params,
              $this->queryRulesWithout(...$without),
              $this->queryMessages(),
              $this->queryAttributes()
          );
      }
docs: Get a validator for all query parameters.
  
  @param array $params
  @param array|string|null $without
  @return ValidatorInterface