@@ -3355,19 +3355,20 @@ public function xAdd($str_key, $str_id, $arr_message) {}
33553355 * @param string $str_key
33563356 * @param string $str_group
33573357 * @param string $str_consumer
3358- * @param array $ids
3358+ * @param int $min_idle_time
3359+ * @param array $arr_ids
33593360 * @param array $arr_options ['IDLE' => $value, 'TIME' => $value, 'RETRYCOUNT' => $value, 'FORCE', 'JUSTID']
33603361 * @return array Either an array of message IDs along with corresponding data, or just an array of IDs (if the 'JUSTID' option was passed).
33613362 * @example
33623363 * <pre>
33633364 * $ids = ['1530113681011-0', '1530113681011-1', '1530113681011-2'];
33643365 *
33653366 * // Without any options
3366- * $obj_redis->xClaim('mystream', 'group1', 'myconsumer1', $ids);
3367+ * $obj_redis->xClaim('mystream', 'group1', 'myconsumer1', 0, $ids);
33673368 *
33683369 * // With options
33693370 * $obj_redis->xClaim(
3370- * 'mystream', 'group1', 'myconsumer2', $ids,
3371+ * 'mystream', 'group1', 'myconsumer2', 0, $ids,
33713372 * [
33723373 * 'IDLE' => time() * 1000,
33733374 * 'RETRYCOUNT' => 5,
@@ -3377,7 +3378,7 @@ public function xAdd($str_key, $str_id, $arr_message) {}
33773378 * );
33783379 * </pre>
33793380 */
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 = []) {}
33813382
33823383 /**
33833384 * Delete one or more messages from a stream.
0 commit comments