Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 50151e7

Browse files
Yurunsoftmichael-grunder
authored andcommitted
Fix doc xGroup param value type
1 parent d35e266 commit 50151e7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3765,8 +3765,8 @@ _**Description**_: This command is used in order to create, destroy, or manage
37653765

37663766
##### *Example*
37673767
~~~php
3768-
$obj_redis->xGroup('CREATE', 'mystream', 'mygroup', 0);
3769-
$obj_redis->xGroup('CREATE', 'mystream', 'mygroup2', 0, true); /* Create stream if non-existent. */
3768+
$obj_redis->xGroup('CREATE', 'mystream', 'mygroup', '0');
3769+
$obj_redis->xGroup('CREATE', 'mystream', 'mygroup2', '0', true); /* Create stream if non-existent. */
37703770
$obj_redis->xGroup('DESTROY', 'mystream', 'mygroup');
37713771
~~~
37723772

0 commit comments

Comments
 (0)