@@ -3447,25 +3447,25 @@ public function xLen($str_stream) {}
3447
3447
* Get information about pending messages in a given stream.
3448
3448
* @param string $str_stream
3449
3449
* @param string $str_group
3450
- * @param int| string $i_start
3451
- * @param int| string $i_end
3452
- * @param int|string $i_count
3450
+ * @param string $str_start
3451
+ * @param string $str_end
3452
+ * @param int $i_count
3453
3453
* @param string $str_consumer
3454
3454
* @return array Information about the pending messages, in various forms depending on the specific invocation of XPENDING.
3455
3455
* @link https://redis.io/commands/xpending
3456
3456
* @example
3457
3457
* <pre>
3458
3458
* $obj_redis->xPending('mystream', 'mygroup');
3459
- * $obj_redis->xPending('mystream', 'mygroup', 0 , '+', 1, 'consumer-1');
3459
+ * $obj_redis->xPending('mystream', 'mygroup', '-' , '+', 1, 'consumer-1');
3460
3460
* </pre>
3461
3461
*/
3462
- public function xPending ($ str_stream , $ str_group , $ i_start = null , $ i_end = null , $ i_count = null , $ str_consumer = null ) {}
3462
+ public function xPending ($ str_stream , $ str_group , $ str_start = null , $ str_end = null , $ i_count = null , $ str_consumer = null ) {}
3463
3463
3464
3464
/**
3465
3465
* Get a range of messages from a given stream.
3466
3466
* @param string $str_stream
3467
- * @param int $i_start
3468
- * @param int $i_end
3467
+ * @param string $str_start
3468
+ * @param string $str_end
3469
3469
* @param int $i_count
3470
3470
* @return array The messages in the stream within the requested range.
3471
3471
* @link https://redis.io/commands/xrange
@@ -3477,7 +3477,7 @@ public function xPending($str_stream, $str_group, $i_start = null, $i_end = null
3477
3477
* $obj_redis->xRange('mystream', '-', '+', 2);
3478
3478
* </pre>
3479
3479
*/
3480
- public function xRange ($ str_stream , $ i_start , $ i_end , $ i_count = null ) {}
3480
+ public function xRange ($ str_stream , $ str_start , $ str_end , $ i_count = null ) {}
3481
3481
3482
3482
/**
3483
3483
* Read data from one or more streams and only return IDs greater than sent in the command.
@@ -3515,17 +3515,17 @@ public function xReadGroup($str_group, $str_consumer, $arr_streams, $i_count, $i
3515
3515
/**
3516
3516
* This is identical to xRange except the results come back in reverse order. Also note that Redis reverses the order of "start" and "end".
3517
3517
* @param string $str_stream
3518
- * @param int| string $i_end
3519
- * @param int| string $i_start
3520
- * @param int|string $i_count
3518
+ * @param string $str_end
3519
+ * @param string $str_start
3520
+ * @param int $i_count
3521
3521
* @return array The messages in the range specified.
3522
3522
* @link https://redis.io/commands/xrevrange
3523
3523
* @example
3524
3524
* <pre>
3525
3525
* $obj_redis->xRevRange('mystream', '+', '-');
3526
3526
* </pre>
3527
3527
*/
3528
- public function xRevRange ($ str_stream , $ i_end , $ i_start , $ i_count = null ) {}
3528
+ public function xRevRange ($ str_stream , $ str_end , $ str_start , $ i_count = null ) {}
3529
3529
3530
3530
/**
3531
3531
* Trim the stream length to a given maximum. If the "approximate" flag is pasesed, Redis will use your size as a hint but only trim trees in whole nodes (this is more efficient)..
0 commit comments