@@ -322,7 +322,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
@@ -31,7 +31,6 @@ discard block |
||
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 |
||
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) |
@@ -133,6 +133,7 @@ |
||
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 | */ |