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:
-rw-r--r--common.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/common.h b/common.h
index 34f84416..884e9764 100644
--- a/common.h
+++ b/common.h
@@ -535,12 +535,14 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_object, 0, 0, 2)
ZEND_ARG_INFO(0, key)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(arginfo_subscribe, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_subscribe, 0, 0, 2)
ZEND_ARG_ARRAY_INFO(0, channels, 0)
+ ZEND_ARG_INFO(0, callback)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(arginfo_psubscribe, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_psubscribe, 0, 0, 2)
ZEND_ARG_ARRAY_INFO(0, patterns, 0)
+ ZEND_ARG_INFO(0, callback)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_unsubscribe, 0, 0, 1)