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 ),