@@ -11,6 +11,9 @@ |
||
11 | 11 | return $redis; |
12 | 12 | } |
13 | 13 | |
14 | + /** |
|
15 | + * @param Closure $fnc |
|
16 | + */ |
|
14 | 17 | public function eavesdrop($opts = ['criteria' => 0, 'options' => 1], $fnc, $args = []) |
15 | 18 | { |
16 | 19 | if (isset($opts['readArgs']) && !$opts['readArgs']) { |
@@ -490,7 +490,7 @@ discard block |
||
490 | 490 | } |
491 | 491 | |
492 | 492 | /** |
493 | - * @return Cursor |
|
493 | + * @return Traversable |
|
494 | 494 | */ |
495 | 495 | protected function ensureCursor() |
496 | 496 | { |
@@ -534,7 +534,7 @@ discard block |
||
534 | 534 | } |
535 | 535 | |
536 | 536 | /** |
537 | - * @return array |
|
537 | + * @return string[] |
|
538 | 538 | */ |
539 | 539 | public function __sleep() |
540 | 540 | { |