src/Sherlock/components/filters/OrFilter.php
public function queries($values)
    {

        $args = func_get_args();

        //single param, array of queries\filters
        if (count($args) == 1 && is_array($args[0])) {
            $args = $args[0];
        }

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

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

        $args = func_get_args();

        //single param, array of queries\filters
        if (count($args) == 1 && is_array($args[0])) {
            $args = $args[0];
        }

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

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

@return OrFilter