@@ -670,8 +670,10 @@ public function rPop( $key ) {}
670
670
* Il all the list identified by the keys passed in arguments are empty, blPop will block
671
671
* during the specified timeout until an element is pushed to one of those lists. This element will be popped.
672
672
*
673
- * @param array $keys Array containing the keys of the lists INTEGER Timeout
674
- * Or STRING Key1 STRING Key2 STRING Key3 ... STRING Keyn INTEGER Timeout
673
+ * @param array $keys Array containing the keys of the lists
674
+ * Or STRING Key1 STRING Key2 STRING Key3 ... STRING Keyn
675
+ * @param int $timeout Timeout
676
+ *
675
677
* @return array array('listName', 'element')
676
678
* @link http://redis.io/commands/blpop
677
679
* @example
@@ -702,7 +704,7 @@ public function rPop( $key ) {}
702
704
* // array('key1', 'A') is returned
703
705
* </pre>
704
706
*/
705
- public function blPop ( array $ keys ) {}
707
+ public function blPop ( array $ keys, $ timeout ) {}
706
708
707
709
/**
708
710
* Is a blocking rPop primitive. If at least one of the lists contains at least one element,
@@ -711,8 +713,9 @@ public function blPop( array $keys ) {}
711
713
* block during the specified timeout until an element is pushed to one of those lists. T
712
714
* his element will be popped.
713
715
*
714
- * @param array $keys Array containing the keys of the lists INTEGER Timeout
715
- * Or STRING Key1 STRING Key2 STRING Key3 ... STRING Keyn INTEGER Timeout
716
+ * @param array $keys Array containing the keys of the lists
717
+ * Or STRING Key1 STRING Key2 STRING Key3 ... STRING Keyn
718
+ * @param int $timeout Timeout
716
719
* @return array array('listName', 'element')
717
720
* @link http://redis.io/commands/brpop
718
721
* @example
@@ -743,7 +746,7 @@ public function blPop( array $keys ) {}
743
746
* // array('key1', 'A') is returned
744
747
* </pre>
745
748
*/
746
- public function brPop ( array $ keys ) {}
749
+ public function brPop ( array $ keys, $ timeout ) {}
747
750
748
751
749
752
/**
0 commit comments