diff --git a/src/EloquentBuilderTrait.php b/src/EloquentBuilderTrait.php index a2dc242..bc10dad 100644 --- a/src/EloquentBuilderTrait.php +++ b/src/EloquentBuilderTrait.php @@ -82,7 +82,7 @@ protected function applyFilterGroups($queryBuilder, array $filterGroups = [], ar $or = $group['or']; $filters = $group['filters']; - $queryBuilder->where(function (Builder $query) use ($filters, $or, &$joins) { + $queryBuilder->where(function ($query) use ($filters, $or, &$joins) { foreach ($filters as $filter) { $this->applyFilter($query, $filter, $or, $joins); }