diff options
-rw-r--r-- | redis.stub.php | 8 | ||||
-rw-r--r-- | redis_arginfo.h | 8 | ||||
-rw-r--r-- | redis_array.stub.php | 8 | ||||
-rw-r--r-- | redis_array_arginfo.h | 6 | ||||
-rw-r--r-- | redis_array_legacy_arginfo.h | 2 | ||||
-rw-r--r-- | redis_cluster.stub.php | 8 | ||||
-rw-r--r-- | redis_cluster_arginfo.h | 10 | ||||
-rw-r--r-- | redis_cluster_legacy_arginfo.h | 2 | ||||
-rw-r--r-- | redis_legacy_arginfo.h | 2 |
9 files changed, 27 insertions, 27 deletions
diff --git a/redis.stub.php b/redis.stub.php index 1ab3b318..4fdbeb01 100644 --- a/redis.stub.php +++ b/redis.stub.php @@ -201,7 +201,7 @@ class Redis { public function hVals(string $key): array; - public function hscan(string $key, int &$iterator, ?string $pattern = null, int $count = 0): bool|array; + public function hscan(string $key, ?int &$iterator, ?string $pattern = null, int $count = 0): bool|array; /** @return int|Redis */ public function incr(string $key); @@ -370,7 +370,7 @@ public function persist(string $key): bool; public function save(): bool; - public function scan(int &$iterator, ?string $pattern = null, int $count = 0): array; + public function scan(?int &$iterator, ?string $pattern = null, int $count = 0): array; public function scard(string $key): int; @@ -426,7 +426,7 @@ public function persist(string $key): bool; public function srem(string $key, string $value, string ...$other_values): int; - public function sscan(string $key, int &$iterator, ?string $pattern = null, int $count = 0): array; + public function sscan(string $key, ?int &$iterator, ?string $pattern = null, int $count = 0): array; /** @return int|Redis */ public function strlen(string $key); @@ -537,7 +537,7 @@ public function persist(string $key): bool; public function zinterstore(string $dst, array $keys, array $weights = null, string $aggregate = null): int; - public function zscan(string $key, int &$iterator, ?string $pattern = null, int $count = 0): bool|array; + public function zscan(string $key, ?int &$iterator, ?string $pattern = null, int $count = 0): bool|array; public function zunion(array $keys, array $weights = null, array $options = null): array; diff --git a/redis_arginfo.h b/redis_arginfo.h index 09b2fda4..097be1e6 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: c2cbe49e22cba6f23e98c1676b7769c55a6fd043 */ + * Stub hash: de74da38c8a832457554c3a0e1e042d47464e36c */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Redis___construct, 0, 0, 0) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "null") @@ -351,7 +351,7 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_Redis_hscan, 0, 2, MAY_BE_BOOL|MAY_BE_ARRAY) ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 0) + ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 1) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null") ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, count, IS_LONG, 0, "0") ZEND_END_ARG_INFO() @@ -617,7 +617,7 @@ ZEND_END_ARG_INFO() #define arginfo_class_Redis_save arginfo_class_Redis_bgSave ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Redis_scan, 0, 1, IS_ARRAY, 0) - ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 0) + ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 1) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null") ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, count, IS_LONG, 0, "0") ZEND_END_ARG_INFO() @@ -700,7 +700,7 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Redis_sscan, 0, 2, IS_ARRAY, 0) ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 0) + ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 1) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null") ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, count, IS_LONG, 0, "0") ZEND_END_ARG_INFO() diff --git a/redis_array.stub.php b/redis_array.stub.php index 206e7095..cab4ffc9 100644 --- a/redis_array.stub.php +++ b/redis_array.stub.php @@ -39,7 +39,7 @@ class RedisArray { public function getOption(int $opt): bool|array; - public function hscan(string $key, int &$iterator, ?string $pattern = null, int $count = 0): bool|array; + public function hscan(string $key, ?int &$iterator, ?string $pattern = null, int $count = 0): bool|array; public function info(): bool|array; @@ -55,17 +55,17 @@ class RedisArray { public function save(): bool|array; - public function scan(int &$iterator, string $node, ?string $pattern = null, int $count = 0): bool|array; + public function scan(?int &$iterator, string $node, ?string $pattern = null, int $count = 0): bool|array; public function select(int $index): bool|array; public function setOption(int $opt, string $value): bool|array; - public function sscan(string $key, int &$iterator, ?string $pattern = null, int $count = 0): bool|array; + public function sscan(string $key, ?int &$iterator, ?string $pattern = null, int $count = 0): bool|array; public function unlink(string|array $key, string ...$otherkeys): bool|int; public function unwatch(): bool|null; - public function zscan(string $key, int &$iterator, ?string $pattern = null, int $count = 0): bool|array; + public function zscan(string $key, ?int &$iterator, ?string $pattern = null, int $count = 0): bool|array; } diff --git a/redis_array_arginfo.h b/redis_array_arginfo.h index 378b082a..3b426b36 100644 --- a/redis_array_arginfo.h +++ b/redis_array_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 52eb7c6a57cea5f116106d24db1c98c7c4469e09 */ + * Stub hash: db47879ea03ea74832fe777fcc5d834ea554bb4a */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_RedisArray___call, 0, 2, IS_MIXED, 0) ZEND_ARG_TYPE_INFO(0, function_name, IS_STRING, 0) @@ -56,7 +56,7 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_RedisArray_hscan, 0, 2, MAY_BE_BOOL|MAY_BE_ARRAY) ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 0) + ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 1) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null") ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, count, IS_LONG, 0, "0") ZEND_END_ARG_INFO() @@ -85,7 +85,7 @@ ZEND_END_ARG_INFO() #define arginfo_class_RedisArray_save arginfo_class_RedisArray__continuum ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_RedisArray_scan, 0, 2, MAY_BE_BOOL|MAY_BE_ARRAY) - ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 0) + ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 1) ZEND_ARG_TYPE_INFO(0, node, IS_STRING, 0) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null") ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, count, IS_LONG, 0, "0") diff --git a/redis_array_legacy_arginfo.h b/redis_array_legacy_arginfo.h index 79771999..9c62aac5 100644 --- a/redis_array_legacy_arginfo.h +++ b/redis_array_legacy_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 52eb7c6a57cea5f116106d24db1c98c7c4469e09 */ + * Stub hash: db47879ea03ea74832fe777fcc5d834ea554bb4a */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_RedisArray___call, 0, 0, 2) ZEND_ARG_INFO(0, function_name) diff --git a/redis_cluster.stub.php b/redis_cluster.stub.php index 2b1b2a5d..c48c4192 100644 --- a/redis_cluster.stub.php +++ b/redis_cluster.stub.php @@ -145,7 +145,7 @@ class RedisCluster { public function hmset(string $key, array $key_values): bool; - public function hscan(string $key, int &$iterator, ?string $pattern = null, int $count = 0): array|bool; + public function hscan(string $key, ?int &$iterator, ?string $pattern = null, int $count = 0): array|bool; public function hset(string $key, string $member, mixed $value): int; @@ -251,7 +251,7 @@ class RedisCluster { public function save(string|array $key_or_address): bool; - public function scan(int &$iterator, mixed $node, ?string $pattern = null, int $count = 0): bool|array; + public function scan(?int &$iterator, mixed $node, ?string $pattern = null, int $count = 0): bool|array; public function scard(string $key): int; @@ -293,7 +293,7 @@ class RedisCluster { public function srem(string $key, string $value, string ...$other_values): int; - public function sscan(string $key, int &$iterator, mixed $node, ?string $pattern = null, int $count = 0): bool|array; + public function sscan(string $key, ?int &$iterator, mixed $node, ?string $pattern = null, int $count = 0): bool|array; public function strlen(string $key): int; @@ -383,7 +383,7 @@ class RedisCluster { public function zrevrank(string $key, mixed $member): int; - public function zscan(string $key, int &$iterator, ?string $pattern = null, int $count = 0): bool|array; + public function zscan(string $key, ?int &$iterator, ?string $pattern = null, int $count = 0): bool|array; public function zscore(string $key): float; diff --git a/redis_cluster_arginfo.h b/redis_cluster_arginfo.h index 74857d63..eda09a45 100644 --- a/redis_cluster_arginfo.h +++ b/redis_cluster_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: aecb51252f52073c36fbe147be0aacddd649db07 */ + * Stub hash: 7f045c90abd99a53f8fb6557942cd17e00ee8a01 */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_RedisCluster___construct, 0, 0, 1) ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 1) @@ -306,7 +306,7 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_RedisCluster_hscan, 0, 2, MAY_BE_ARRAY|MAY_BE_BOOL) ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 0) + ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 1) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null") ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, count, IS_LONG, 0, "0") ZEND_END_ARG_INFO() @@ -530,7 +530,7 @@ ZEND_END_ARG_INFO() #define arginfo_class_RedisCluster_save arginfo_class_RedisCluster_bgrewriteaof ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_RedisCluster_scan, 0, 2, MAY_BE_BOOL|MAY_BE_ARRAY) - ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 0) + ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 1) ZEND_ARG_TYPE_INFO(0, node, IS_MIXED, 0) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null") ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, count, IS_LONG, 0, "0") @@ -623,7 +623,7 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_RedisCluster_sscan, 0, 3, MAY_BE_BOOL|MAY_BE_ARRAY) ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 0) + ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 1) ZEND_ARG_TYPE_INFO(0, node, IS_MIXED, 0) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null") ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, count, IS_LONG, 0, "0") @@ -826,7 +826,7 @@ ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_RedisCluster_zscan, 0, 2, MAY_BE_BOOL|MAY_BE_ARRAY) ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0) - ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 0) + ZEND_ARG_TYPE_INFO(1, iterator, IS_LONG, 1) ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null") ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, count, IS_LONG, 0, "0") ZEND_END_ARG_INFO() diff --git a/redis_cluster_legacy_arginfo.h b/redis_cluster_legacy_arginfo.h index f27e3f1b..38a80896 100644 --- a/redis_cluster_legacy_arginfo.h +++ b/redis_cluster_legacy_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: aecb51252f52073c36fbe147be0aacddd649db07 */ + * Stub hash: 7f045c90abd99a53f8fb6557942cd17e00ee8a01 */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_RedisCluster___construct, 0, 0, 1) ZEND_ARG_INFO(0, name) diff --git a/redis_legacy_arginfo.h b/redis_legacy_arginfo.h index 9021f63c..86937f5f 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: c2cbe49e22cba6f23e98c1676b7769c55a6fd043 */ + * Stub hash: de74da38c8a832457554c3a0e1e042d47464e36c */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Redis___construct, 0, 0, 0) ZEND_ARG_INFO(0, options) |