Completed
Pull Request — master (#180)
by
unknown
02:27
created
src/Aggregation/AbstractAggregation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
      * Returns sub aggregation.
107 107
      * @param string $name Aggregation name to return.
108 108
      *
109
-     * @return AbstractAggregation|null
109
+     * @return BuilderInterface|null
110 110
      */
111 111
     public function getAggregation($name)
112 112
     {
Please login to merge, or discard this patch.
src/Search.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
      *                                   - should.
266 266
      * @param string           $key
267 267
      *
268
-     * @return int Key of post filter.
268
+     * @return Search Key of post filter.
269 269
      */
270 270
     public function addPostFilter(BuilderInterface $filter, $boolType = BoolFilter::MUST, $key = null)
271 271
     {
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
      *
356 356
      * @param Highlight $highlight
357 357
      *
358
-     * @return int Key of highlight.
358
+     * @return Search Key of highlight.
359 359
      */
360 360
     public function addHighlight($highlight)
361 361
     {
Please login to merge, or discard this patch.
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -381,12 +381,12 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
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.