@@ -3355,19 +3355,20 @@ public function xAdd($str_key, $str_id, $arr_message) {}
3355
3355
* @param string $str_key
3356
3356
* @param string $str_group
3357
3357
* @param string $str_consumer
3358
- * @param array $ids
3358
+ * @param int $min_idle_time
3359
+ * @param array $arr_ids
3359
3360
* @param array $arr_options ['IDLE' => $value, 'TIME' => $value, 'RETRYCOUNT' => $value, 'FORCE', 'JUSTID']
3360
3361
* @return array Either an array of message IDs along with corresponding data, or just an array of IDs (if the 'JUSTID' option was passed).
3361
3362
* @example
3362
3363
* <pre>
3363
3364
* $ids = ['1530113681011-0', '1530113681011-1', '1530113681011-2'];
3364
3365
*
3365
3366
* // Without any options
3366
- * $obj_redis->xClaim('mystream', 'group1', 'myconsumer1', $ids);
3367
+ * $obj_redis->xClaim('mystream', 'group1', 'myconsumer1', 0, $ids);
3367
3368
*
3368
3369
* // With options
3369
3370
* $obj_redis->xClaim(
3370
- * 'mystream', 'group1', 'myconsumer2', $ids,
3371
+ * 'mystream', 'group1', 'myconsumer2', 0, $ids,
3371
3372
* [
3372
3373
* 'IDLE' => time() * 1000,
3373
3374
* 'RETRYCOUNT' => 5,
@@ -3377,7 +3378,7 @@ public function xAdd($str_key, $str_id, $arr_message) {}
3377
3378
* );
3378
3379
* </pre>
3379
3380
*/
3380
- public function xClaim ($ str_key , $ str_group , $ str_consumer , $ ids , $ arr_options = []) {}
3381
+ public function xClaim ($ str_key , $ str_group , $ str_consumer , $ min_idle_time , $ arr_ids , $ arr_options = []) {}
3381
3382
3382
3383
/**
3383
3384
* Delete one or more messages from a stream.
0 commit comments