Predis\Command\ZSetScan::filterArguments PHP Method

filterArguments() protected method

protected filterArguments ( array $arguments )
$arguments array
    protected function filterArguments(array $arguments)
    {
        if (count($arguments) === 3 && is_array($arguments[2])) {
            $options = $this->prepareOptions(array_pop($arguments));
            $arguments = array_merge($arguments, $options);
        }
        return $arguments;
    }