diff --git a/src/Redis.php b/src/Redis.php index e4bf604..9528f83 100644 --- a/src/Redis.php +++ b/src/Redis.php @@ -3498,8 +3498,8 @@ public function xRead($arr_streams, $i_count = null, $i_block = null) {} * @param string $str_group * @param string $str_consumer * @param array $arr_streams - * @param int|string $i_count - * @param int|string $i_block + * @param int|null $i_count + * @param int|null $i_block * @return array The messages delivered to this consumer group (if any). * @link https://redis.io/commands/xreadgroup * @example @@ -3510,7 +3510,7 @@ public function xRead($arr_streams, $i_count = null, $i_block = null) {} * $obj_redis->xReadGroup('mygroup', 'consumer2', ['s1' => 0, 's2' => 0], 1, 1000); * */ - public function xReadGroup($str_group, $str_consumer, $arr_streams, $i_count, $i_block = null) {} + public function xReadGroup($str_group, $str_consumer, $arr_streams, $i_count = null, $i_block = null) {} /** * This is identical to xRange except the results come back in reverse order. Also note that Redis reverses the order of "start" and "end".