public function remove(Query $query)
    {
        $query = $query->getQuery();

        foreach ((array) $query->wheres as $key => $where) {
            if ($this->isSingleTableConstraint($where, $this->column)) {
                unset($query->wheres[$key]);

                $query->wheres = array_values($query->wheres);
            }
        }
    }
public function remove(Query $query)
    {
        $query = $query->getQuery();

        foreach ((array) $query->wheres as $key => $where) {
            if ($this->isSingleTableConstraint($where, $this->column)) {
                unset($query->wheres[$key]);

                $query->wheres = array_values($query->wheres);
            }
        }
    }
public function remove ( Query $ query ) { $ query = $ query -> getQuery ( ) ; foreach ( ( array ) $ query -> wheres as $ key => $ where ) { if ( $ this -> isSingleTableConstraint ( $ where , $ this -> column ) ) { unset ( $ query -> wheres [ $ key ] ) ; $ query -> wheres = array_values ( $ query -> wheres ) ; } } }
Remove the scope from the given Analogue query builder.

@param mixed $query

@return void
Remove the scope from the given Analogue query builder .