@@ -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 |