Completed
Push — master ( 61efdf...7a2c62 )
by Simonas
01:38
created
src/Aggregation/AbstractAggregation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
      * Returns sub aggregation.
109 109
      * @param string $name Aggregation name to return.
110 110
      *
111
-     * @return AbstractAggregation|NamedBuilderInterface|null
111
+     * @return \ONGR\ElasticsearchDSL\BuilderInterface|null
112 112
      */
113 113
     public function getAggregation($name)
114 114
     {
Please login to merge, or discard this patch.
src/Search.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -406,12 +406,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.