Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5db8556

Browse files
committed
Fix missing auth in RedisSentinel stub
1 parent 8e3c6aa commit 5db8556

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

redis_sentinel.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
class RedisSentinel {
99

10-
public function __construct(string $host, int $port = 26379, float $timeout = 0, mixed $persistent = NULL, int $retry_interval = 0, float $read_timeout = 0);
10+
public function __construct(string $host, int $port = 26379, float $timeout = 0, mixed $persistent = NULL, int $retry_interval = 0, float $read_timeout = 0, mixed $auth = NULL);
1111

1212
/** @return bool|RedisSentinel */
1313
public function ckquorum(string $master);

redis_sentinel_arginfo.h

Lines changed: 2 additions & 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: 9a7a43f9bee2da879c1419d203ddfd12e6052e25 */
2+
* Stub hash: deae7b4a55435fb2ab39f314544064a34c56d218 */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_RedisSentinel___construct, 0, 0, 1)
55
ZEND_ARG_TYPE_INFO(0, host, IS_STRING, 0)
@@ -8,6 +8,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_RedisSentinel___construct, 0, 0, 1)
88
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, persistent, IS_MIXED, 0, "NULL")
99
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, retry_interval, IS_LONG, 0, "0")
1010
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, read_timeout, IS_DOUBLE, 0, "0")
11+
ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, auth, IS_MIXED, 0, "NULL")
1112
ZEND_END_ARG_INFO()
1213

1314
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_RedisSentinel_ckquorum, 0, 0, 1)

redis_sentinel_legacy_arginfo.h

Lines changed: 2 additions & 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: 9a7a43f9bee2da879c1419d203ddfd12e6052e25 */
2+
* Stub hash: deae7b4a55435fb2ab39f314544064a34c56d218 */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_RedisSentinel___construct, 0, 0, 1)
55
ZEND_ARG_INFO(0, host)
@@ -8,6 +8,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_RedisSentinel___construct, 0, 0, 1)
88
ZEND_ARG_INFO(0, persistent)
99
ZEND_ARG_INFO(0, retry_interval)
1010
ZEND_ARG_INFO(0, read_timeout)
11+
ZEND_ARG_INFO(0, auth)
1112
ZEND_END_ARG_INFO()
1213

1314
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_RedisSentinel_ckquorum, 0, 0, 1)

0 commit comments

Comments
 (0)