diff --git a/src/Redis.php b/src/Redis.php index 47972c5..7db031f 100644 --- a/src/Redis.php +++ b/src/Redis.php @@ -3349,14 +3349,18 @@ public function xAck($stream, $group, $arr_messages) {} * @param string $str_key * @param string $str_id * @param array $arr_message + * @param int $i_maxlen + * @param bool $boo_approximate * @return string The added message ID. * @link https://redis.io/commands/xadd * @example *
      * $obj_redis->xAdd('mystream', "*", ['field' => 'value']);
+     * $obj_redis->xAdd('mystream', "*", ['field' => 'value'], 10);
+     * $obj_redis->xAdd('mystream', "*", ['field' => 'value'], 10, true);
      * 
*/ - public function xAdd($str_key, $str_id, $arr_message) {} + public function xAdd($str_key, $str_id, $arr_message, $i_maxlen = 0, $boo_approximate = false) {} /** * Claim ownership of one or more pending messages.