Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYurun <admin@yurunsoft.com>2021-10-19 05:57:11 +0300
committerMichael Grunder <michael.grunder@gmail.com>2022-10-05 23:58:04 +0300
commit50151e7a4f7b6f831908edbdafe754b8adc2d099 (patch)
treebf1910aedbad894e61304766085922e26afe9b08
parentd35e2664bb65525b2ae347471094eb4fb1de18d8 (diff)
Fix doc xGroup param value type
-rw-r--r--README.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown
index 43a1a2b2..cb94e9c8 100644
--- a/README.markdown
+++ b/README.markdown
@@ -3765,8 +3765,8 @@ _**Description**_: This command is used in order to create, destroy, or manage
##### *Example*
~~~php
-$obj_redis->xGroup('CREATE', 'mystream', 'mygroup', 0);
-$obj_redis->xGroup('CREATE', 'mystream', 'mygroup2', 0, 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');
~~~