src/Sherlock/components/filters/Not.php
public function not($value)
    {
        if ($value instanceof \Sherlock\components\QueryInterface) {
            $this->params['not'] = $value->toArray();
        } elseif ($value instanceof \Sherlock\components\FilterInterface) {
            $this->params['not'] = array("filter" => $value->toArray());
        }

        return $this;
    }
public function not($value)
    {
        if ($value instanceof \Sherlock\components\QueryInterface) {
            $this->params['not'] = $value->toArray();
        } elseif ($value instanceof \Sherlock\components\FilterInterface) {
            $this->params['not'] = array("filter" => $value->toArray());
        }

        return $this;
    }
@param  \Sherlock\components\QueryInterface | \Sherlock\components\FilterInterface $value

@return Not