@@ -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 | /** |
@@ -406,12 +406,12 @@ discard block |
||
406 | 406 | } |
407 | 407 | |
408 | 408 | /** |
409 | - * Adds suggest into search. |
|
410 | - * |
|
411 | - * @param BuilderInterface $suggest |
|
412 | - * |
|
413 | - * @return $this |
|
414 | - */ |
|
409 | + * Adds suggest into search. |
|
410 | + * |
|
411 | + * @param BuilderInterface $suggest |
|
412 | + * |
|
413 | + * @return $this |
|
414 | + */ |
|
415 | 415 | public function addSuggest(NamedBuilderInterface $suggest) |
416 | 416 | { |
417 | 417 | $this->getEndpoint(SuggestEndpoint::NAME)->add($suggest, $suggest->getName()); |
@@ -420,10 +420,10 @@ discard block |
||
420 | 420 | } |
421 | 421 | |
422 | 422 | /** |
423 | - * Returns all suggests. |
|
424 | - * |
|
425 | - * @return BuilderInterface[] |
|
426 | - */ |
|
423 | + * Returns all suggests. |
|
424 | + * |
|
425 | + * @return BuilderInterface[] |
|
426 | + */ |
|
427 | 427 | public function getSuggests() |
428 | 428 | { |
429 | 429 | return $this->getEndpoint(SuggestEndpoint::NAME)->getAll(); |