src/QueryBuilder.php
public function where($column, $operator, $value = null)
    {
        if (is_null($value)) {
            if (is_callable($operator)) {
                $this->where[] = [$column, 'func', $operator];
            } else {
                $this->where[] = [$column, '=', $operator];
            }
        } else {
            $this->where[] = [$column, $operator, $value];
        }

        return $this;
    }
public function where($column, $operator, $value = null)
    {
        if (is_null($value)) {
            if (is_callable($operator)) {
                $this->where[] = [$column, 'func', $operator];
            } else {
                $this->where[] = [$column, '=', $operator];
            }
        } else {
            $this->where[] = [$column, $operator, $value];
        }

        return $this;
    }
public function where ( $ column , $ operator , $ value = null ) { if ( is_null ( $ value ) ) { if ( is_callable ( $ operator ) ) { $ this -> where [ ] = [ $ column , 'func' , $ operator ] ; } else { $ this -> where [ ] = [ $ column , '=' , $ operator ] ; } } else { $ this -> where [ ] = [ $ column , $ operator , $ value ] ; } return $ this ; }
Value must exist in the array

@param  string $column   Column to search
@param  string $operator Operator or value
@param  mixed  $value
@return $this
Value must exist in the array