src/Sherlock/components/queries/DisMax.php
public function queries($queries)
    {

        $args = $this->normalizeFuncArgs(func_get_args());

        foreach ($args as $arg) {
            if ($arg instanceof QueryInterface) {
                $this->params['queries'][] = $arg->toArray();
            }
        }

        return $this;
    }
public function queries($queries)
    {

        $args = $this->normalizeFuncArgs(func_get_args());

        foreach ($args as $arg) {
            if ($arg instanceof QueryInterface) {
                $this->params['queries'][] = $arg->toArray();
            }
        }

        return $this;
    }
@param \Sherlock\components\QueryInterface | array $queries,... - one or more Queries can be specified individually, or an array of filters

@return $this