From 5bf0c84c8fc7411e3d1dbee821c96b5a73561849 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Sat, 6 Apr 2019 15:44:54 +0200 Subject: Fix example how to create a stream with a new group --- README.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.markdown') diff --git a/README.markdown b/README.markdown index 2ae17e42..c2d44268 100644 --- a/README.markdown +++ b/README.markdown @@ -3430,8 +3430,8 @@ _**Description**_: This command is used in order to create, destroy, or manage ##### *Example* ~~~php -$obj_redis->xGroup('CREATE', 'mystream', 'mygroup'); -$obj_redis->xGroup('CREATE', 'mystream', 'mygroup2', true); /* Create stream if non-existent. */ +$obj_redis->xGroup('CREATE', 'mystream', 'mygroup', 0); +$obj_redis->xGroup('CREATE', 'mystream', 'mygroup2', 0, true); /* Create stream if non-existent. */ $obj_redis->xGroup('DESTROY', 'mystream', 'mygroup'); ~~~ -- cgit v1.2.3