Skip to content

Commit ab593f0

Browse files
Fix return type for unreleased vgetattr and vsetattr.
1 parent ca25b6f commit ab593f0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

redis_cluster.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,12 +1139,12 @@ public function vlinks(string $key, mixed $member, bool $withscores = false): Re
11391139
/**
11401140
* @see Redis::vgetattr
11411141
*/
1142-
public function vgetattr(string $key, mixed $member, bool $decode = true): Redis|array|string|false;
1142+
public function vgetattr(string $key, mixed $member, bool $decode = true): RedisCluster|array|string|false;
11431143

11441144
/**
11451145
* @see Redis::vsetattr
11461146
*/
1147-
public function vsetattr(string $key, mixed $member, array|string $attributes): Redis|int|false;
1147+
public function vsetattr(string $key, mixed $member, array|string $attributes): RedisCluster|int|false;
11481148

11491149
/**
11501150
* @see Redis::xack

redis_cluster_arginfo.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 6561a50ccac9841ac01a53feb5f88e7f592e1bc2 */
2+
* Stub hash: 393dc58ed5ca0ea338fec43c4bd7b3b6c01235b5 */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_RedisCluster___construct, 0, 0, 1)
55
ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 1)
@@ -934,13 +934,13 @@ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_RedisCluster_vlinks, 0
934934
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, withscores, _IS_BOOL, 0, "false")
935935
ZEND_END_ARG_INFO()
936936

937-
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_RedisCluster_vgetattr, 0, 2, Redis, MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_FALSE)
937+
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_RedisCluster_vgetattr, 0, 2, RedisCluster, MAY_BE_ARRAY|MAY_BE_STRING|MAY_BE_FALSE)
938938
ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0)
939939
ZEND_ARG_TYPE_INFO(0, member, IS_MIXED, 0)
940940
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, decode, _IS_BOOL, 0, "true")
941941
ZEND_END_ARG_INFO()
942942

943-
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_RedisCluster_vsetattr, 0, 3, Redis, MAY_BE_LONG|MAY_BE_FALSE)
943+
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_RedisCluster_vsetattr, 0, 3, RedisCluster, MAY_BE_LONG|MAY_BE_FALSE)
944944
ZEND_ARG_TYPE_INFO(0, key, IS_STRING, 0)
945945
ZEND_ARG_TYPE_INFO(0, member, IS_MIXED, 0)
946946
ZEND_ARG_TYPE_MASK(0, attributes, MAY_BE_ARRAY|MAY_BE_STRING, NULL)

redis_cluster_legacy_arginfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 6561a50ccac9841ac01a53feb5f88e7f592e1bc2 */
2+
* Stub hash: 393dc58ed5ca0ea338fec43c4bd7b3b6c01235b5 */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_RedisCluster___construct, 0, 0, 1)
55
ZEND_ARG_INFO(0, name)

0 commit comments

Comments
 (0)