diff --git a/src/Engines/TypesenseEngine.php b/src/Engines/TypesenseEngine.php index caa4eb21..50a6efe4 100644 --- a/src/Engines/TypesenseEngine.php +++ b/src/Engines/TypesenseEngine.php @@ -603,7 +603,7 @@ protected function getOrCreateCollectionFromModel($model, bool $indexOperation = $collectionName = $model->{$method}(); $collection = $this->typesense->getCollections()->{$collectionName}; - if (!$indexOperation) { + if (! $indexOperation) { return $collection; }