Completed
Push — master ( 61efdf...7a2c62 )
by Simonas
01:38
created
src/Aggregation/Bucketing/HistogramAggregation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -221,7 +221,7 @@
 block discarded – undo
221 221
      * Checks if all required parameters are set.
222 222
      *
223 223
      * @param array $data
224
-     * @param array $required
224
+     * @param string[] $required
225 225
      *
226 226
      * @throws \LogicException
227 227
      */
Please login to merge, or discard this patch.
src/Search.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -648,7 +648,7 @@
 block discarded – undo
648 648
 
649 649
     /**
650 650
      * @param string $name
651
-     * @param string|array|bool $value
651
+     * @param string $value
652 652
      *
653 653
      * @return $this
654 654
      */
Please login to merge, or discard this 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.
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.