@@ -3447,25 +3447,25 @@ public function xLen($str_stream) {}
34473447 * Get information about pending messages in a given stream.
34483448 * @param string $str_stream
34493449 * @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
34533453 * @param string $str_consumer
34543454 * @return array Information about the pending messages, in various forms depending on the specific invocation of XPENDING.
34553455 * @link https://redis.io/commands/xpending
34563456 * @example
34573457 * <pre>
34583458 * $obj_redis->xPending('mystream', 'mygroup');
3459- * $obj_redis->xPending('mystream', 'mygroup', 0 , '+', 1, 'consumer-1');
3459+ * $obj_redis->xPending('mystream', 'mygroup', '-' , '+', 1, 'consumer-1');
34603460 * </pre>
34613461 */
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 ) {}
34633463
34643464 /**
34653465 * Get a range of messages from a given stream.
34663466 * @param string $str_stream
3467- * @param int $i_start
3468- * @param int $i_end
3467+ * @param string $str_start
3468+ * @param string $str_end
34693469 * @param int $i_count
34703470 * @return array The messages in the stream within the requested range.
34713471 * @link https://redis.io/commands/xrange
@@ -3477,7 +3477,7 @@ public function xPending($str_stream, $str_group, $i_start = null, $i_end = null
34773477 * $obj_redis->xRange('mystream', '-', '+', 2);
34783478 * </pre>
34793479 */
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 ) {}
34813481
34823482 /**
34833483 * 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
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".
35173517 * @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
35213521 * @return array The messages in the range specified.
35223522 * @link https://redis.io/commands/xrevrange
35233523 * @example
35243524 * <pre>
35253525 * $obj_redis->xRevRange('mystream', '+', '-');
35263526 * </pre>
35273527 */
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 ) {}
35293529
35303530 /**
35313531 * 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