Skip to content

Commit f918799

Browse files
ix xReadGroup phpdocs for count and block
1 parent 1c7a47b commit f918799

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Redis.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3498,8 +3498,8 @@ public function xRead($arr_streams, $i_count = null, $i_block = null) {}
34983498
* @param string $str_group
34993499
* @param string $str_consumer
35003500
* @param array $arr_streams
3501-
* @param int|string $i_count
3502-
* @param int|string $i_block
3501+
* @param int|null $i_count
3502+
* @param int|null $i_block
35033503
* @return array The messages delivered to this consumer group (if any).
35043504
* @link https://redis.io/commands/xreadgroup
35053505
* @example
@@ -3510,7 +3510,7 @@ public function xRead($arr_streams, $i_count = null, $i_block = null) {}
35103510
* $obj_redis->xReadGroup('mygroup', 'consumer2', ['s1' => 0, 's2' => 0], 1, 1000);
35113511
* </pre>
35123512
*/
3513-
public function xReadGroup($str_group, $str_consumer, $arr_streams, $i_count, $i_block = null) {}
3513+
public function xReadGroup($str_group, $str_consumer, $arr_streams, $i_count = null, $i_block = null) {}
35143514

35153515
/**
35163516
* This is identical to xRange except the results come back in reverse order. Also note that Redis reverses the order of "start" and "end".

0 commit comments

Comments
 (0)