diff --git a/src/Collection.php b/src/Collection.php index 764bd4f..57ccefb 100644 --- a/src/Collection.php +++ b/src/Collection.php @@ -170,7 +170,7 @@ public function getSuggestions(string $name): BaseCollection return new BaseCollection($this->suggestions[$name] ?? []); } - public function getAggregations():BaseCollection + public function getAggregations(): BaseCollection { return new BaseCollection($this->aggregations); }