@@ -381,12 +381,12 @@ discard block |
||
381 | 381 | } |
382 | 382 | |
383 | 383 | /** |
384 | - * Adds suggest into search. |
|
385 | - * |
|
386 | - * @param BuilderInterface $suggest |
|
387 | - * |
|
388 | - * @return $this |
|
389 | - */ |
|
384 | + * Adds suggest into search. |
|
385 | + * |
|
386 | + * @param BuilderInterface $suggest |
|
387 | + * |
|
388 | + * @return $this |
|
389 | + */ |
|
390 | 390 | public function addSuggest(BuilderInterface $suggest) |
391 | 391 | { |
392 | 392 | $this->getEndpoint(SuggestEndpoint::NAME)->add($suggest, $suggest->getName()); |
@@ -395,10 +395,10 @@ discard block |
||
395 | 395 | } |
396 | 396 | |
397 | 397 | /** |
398 | - * Returns all suggests. |
|
399 | - * |
|
400 | - * @return BuilderInterface[] |
|
401 | - */ |
|
398 | + * Returns all suggests. |
|
399 | + * |
|
400 | + * @return BuilderInterface[] |
|
401 | + */ |
|
402 | 402 | public function getSuggests() |
403 | 403 | { |
404 | 404 | return $this->getEndpoint(SuggestEndpoint::NAME)->getAll(); |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use ONGR\ElasticsearchDSL\Aggregation\AbstractAggregation; |
15 | 15 | use ONGR\ElasticsearchDSL\Aggregation\Type\BucketingTrait; |
16 | -use ONGR\ElasticsearchDSL\BuilderInterface; |
|
17 | 16 | |
18 | 17 | /** |
19 | 18 | * Class representing AutoDateHistogramAggregation. |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace ONGR\ElasticsearchDSL\Aggregation\Pipeline; |
13 | 13 | |
14 | -use ONGR\ElasticsearchDSL\BuilderInterface; |
|
15 | 14 | use ONGR\ElasticsearchDSL\Sort\FieldSort; |
16 | 15 | |
17 | 16 | /** |