From 867078f720797cc200016ef835ac4cbf355abf69 Mon Sep 17 00:00:00 2001 From: Hendrik Heil Date: Fri, 2 Feb 2024 08:13:26 +0100 Subject: [PATCH] feat: allow macros in SearchParametersBuilder --- src/Builders/SearchParametersBuilder.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Builders/SearchParametersBuilder.php b/src/Builders/SearchParametersBuilder.php index 8bfc09d..cd2a958 100644 --- a/src/Builders/SearchParametersBuilder.php +++ b/src/Builders/SearchParametersBuilder.php @@ -15,11 +15,13 @@ use Elastic\ScoutDriverPlus\Support\Arr; use Elastic\ScoutDriverPlus\Support\Conditionable; use Illuminate\Database\Eloquent\Model; +use Illuminate\Support\Traits\Macroable; use stdClass; class SearchParametersBuilder { use Conditionable; + use Macroable; public const DEFAULT_PAGE_SIZE = 10;