Completed
Pull Request — master (#1023)
by Jonathan
07:29
created
lib/Elastica/AbstractUpdateAction.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
     }
323 323
 
324 324
     /**
325
-     * @param array|string $fields
325
+     * @param string $fields
326 326
      *
327 327
      * @return $this
328 328
      */
@@ -456,7 +456,7 @@  discard block
 block discarded – undo
456 456
     }
457 457
 
458 458
     /**
459
-     * @return string
459
+     * @return boolean
460 460
      */
461 461
     public function hasTimeout()
462 462
     {
@@ -482,7 +482,7 @@  discard block
 block discarded – undo
482 482
     }
483 483
 
484 484
     /**
485
-     * @return string
485
+     * @return boolean
486 486
      */
487 487
     public function hasConsistency()
488 488
     {
@@ -545,7 +545,7 @@  discard block
 block discarded – undo
545 545
     }
546 546
 
547 547
     /**
548
-     * @param array $fields         if empty array all options will be returned, field names can be either with underscored either without, i.e. _percolate, routing
548
+     * @param string[] $fields         if empty array all options will be returned, field names can be either with underscored either without, i.e. _percolate, routing
549 549
      * @param bool  $withUnderscore should option keys contain underscore prefix
550 550
      *
551 551
      * @return array
Please login to merge, or discard this patch.
lib/Elastica/Query/MoreLikeThis.php 1 patch
Indentation   -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@  discard block
 block discarded – undo
31 31
      * @param array $ids Document ids
32 32
      *
33 33
      * @deprecated Option "ids" deprecated as of ES 2.0.0-beta1 and will be removed in further Elastica releases. Use "like" instead.
34
-     
35 34
      * @return \Elastica\Query\MoreLikeThis Current object
36 35
      */
37 36
     public function setIds(array $ids)
@@ -57,7 +56,6 @@  discard block
 block discarded – undo
57 56
      * @param string $likeText
58 57
      *
59 58
      * @deprecated Option "like_text" deprecated as of ES 2.0.0-beta1 and will be removed at further Elastica releases. Use "like" instead.
60
-     
61 59
      * @return $this
62 60
      */
63 61
     public function setLikeText($likeText)
Please login to merge, or discard this patch.
lib/Elastica/Transport/Guzzle.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -133,6 +133,7 @@
 block discarded – undo
133 133
      * Return Guzzle resource.
134 134
      *
135 135
      * @param bool $persistent False if not persistent connection
136
+     * @param string $baseUrl
136 137
      *
137 138
      * @return Client
138 139
      */
Please login to merge, or discard this patch.