From 50132a4250188954bac1e0336a8717ca6af35ab2 Mon Sep 17 00:00:00 2001 From: Robert Zondervan Date: Tue, 13 Aug 2024 10:46:27 +0200 Subject: [PATCH] Fix elastic string filter --- lib/Service/ElasticSearchService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/ElasticSearchService.php b/lib/Service/ElasticSearchService.php index ef16edd4..cd133425 100644 --- a/lib/Service/ElasticSearchService.php +++ b/lib/Service/ElasticSearchService.php @@ -91,7 +91,7 @@ public function updateObject(string $id, array $object, array $config): array } } - public function parseFilter(string $name, array $filter): array + public function parseFilter(string $name, array|string $filter): array { if(is_array($filter) === false) {