From 283485a08a297dce81f05fe50dc54c5951ff30bd Mon Sep 17 00:00:00 2001 From: Esben Petersen Date: Sun, 17 Oct 2021 11:00:45 +0200 Subject: [PATCH] fix --- src/EloquentBuilderTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }