From e567b90a9a222128560195a879c930cab3e71fd0 Mon Sep 17 00:00:00 2001 From: "Eirik S. Morland" Date: Tue, 8 Jul 2025 08:41:21 +0200 Subject: [PATCH] Fix a PHP notice --- src/Query/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Query/Query.php b/src/Query/Query.php index 9f015e6..afa6660 100644 --- a/src/Query/Query.php +++ b/src/Query/Query.php @@ -463,7 +463,7 @@ public function searchQueryArgs( $query ) { array_merge( trim($queryWithFilters) === '' ? array( $this->indexName ) : array( $this->indexName, $queryWithFilters ), explode( ' ', $this->limit ), - explode( ' ', $this->slop ), + explode( ' ', $this->slop ?? '' ), array( $this->verbatim, $this->withScores, $this->withSortKey, $this->withPayloads, $this->noStopWords, $this->noContent), explode( ' ', $this->inFields), explode( ' ', $this->inKeys ),