From ff059691ed670630506239ebde7eb801889a3a14 Mon Sep 17 00:00:00 2001 From: Roland Dufour Date: Mon, 6 Nov 2023 17:19:38 +0100 Subject: [PATCH] Update src/Dto/SearchDto.php Co-authored-by: Max --- src/Dto/SearchDto.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dto/SearchDto.php b/src/Dto/SearchDto.php index aeb19f88c5..de300808be 100644 --- a/src/Dto/SearchDto.php +++ b/src/Dto/SearchDto.php @@ -21,7 +21,7 @@ final class SearchDto private ?array $appliedFilters; private string $searchMode; - public function __construct(Request $request, ?array $searchableProperties, ?string $query, array $defaultSort, array $customSort, ?array $appliedFilters, string $searchMode) + public function __construct(Request $request, ?array $searchableProperties, ?string $query, array $defaultSort, array $customSort, ?array $appliedFilters, string $searchMode = SearchMode::ANY_TERMS) { $this->request = $request; $this->searchableProperties = $searchableProperties;