diff --git a/redis.stub.php b/redis.stub.php index 6818b6d39d..47c8548683 100644 --- a/redis.stub.php +++ b/redis.stub.php @@ -991,7 +991,7 @@ public function discard(): Redis|bool; * $binary = $redis->dump('zset'); * $redis->restore('new-zset', 0, $binary); */ - public function dump(string $key): Redis|string; + public function dump(string $key): Redis|string|false; /** * Have Redis repeat back an arbitrary string to the client. diff --git a/redis_arginfo.h b/redis_arginfo.h index 623d6b1d29..e26efd4383 100644 --- a/redis_arginfo.h +++ b/redis_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: d6839707b66ecf4460374deea10a528bf0c5ea41 */ + * Stub hash: 21f3434814d9fa077a9a81c8ba114c3faf079e85 */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Redis___construct, 0, 0, 0) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 1, "null") @@ -179,7 +179,9 @@ ZEND_END_ARG_INFO() #define arginfo_class_Redis_discard arginfo_class_Redis_bgSave -#define arginfo_class_Redis_dump arginfo_class_Redis_debug +ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_Redis_dump, 0, 1, Redis, MAY_BE_STRING|MAY_BE_FALSE) + ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0) +ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_Redis_echo, 0, 1, Redis, MAY_BE_STRING|MAY_BE_FALSE) ZEND_ARG_TYPE_INFO(0, str, IS_STRING, 0) diff --git a/redis_legacy_arginfo.h b/redis_legacy_arginfo.h index 87522686b0..26423fefa6 100644 --- a/redis_legacy_arginfo.h +++ b/redis_legacy_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: d6839707b66ecf4460374deea10a528bf0c5ea41 */ + * Stub hash: 21f3434814d9fa077a9a81c8ba114c3faf079e85 */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Redis___construct, 0, 0, 0) ZEND_ARG_INFO(0, options)