Add type param to Eloquent\Builder has method.

Was imposible to use something like this:

 public function scopeActives($query) {
        return $query->has('groups')->has('deals', '>=', 1, 'or');
    }