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:
authorRemi Collet <remi@remirepo.net>2020-09-16 11:18:56 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2021-08-26 09:53:07 +0300
commit10feb234303ea36c203d80bc2d606685456d26e1 (patch)
tree0cca516570210a4df5dca323dbf6a0a8ef938404 /redis_sentinel.stub.php
parentedac508ef5fc0b397f445504c01593b44e001201 (diff)
drop return type hinting
Diffstat (limited to 'redis_sentinel.stub.php')
-rw-r--r--redis_sentinel.stub.php30
1 files changed, 20 insertions, 10 deletions
diff --git a/redis_sentinel.stub.php b/redis_sentinel.stub.php
index 11309c0b..34394ee6 100644
--- a/redis_sentinel.stub.php
+++ b/redis_sentinel.stub.php
@@ -6,23 +6,33 @@ class RedisSentinel {
public function __construct(string $host, int $port = 26379, float $timeout = 0, mixed $persistent = NULL, int $retry_interval = 0, float $read_timeout = 0);
- public function ckquorum(string $master): bool;
+ /** @return bool|RedisSentinel */
+ public function ckquorum(string $master);
- public function failover(string $master): bool;
+ /** @return bool|RedisSentinel */
+ public function failover(string $master);
- public function flushconfig(): bool;
+ /** @return bool|RedisSentinel */
+ public function flushconfig();
- public function getMasterAddrByName(string $master): array|false;
+ /** @return array|bool|RedisSentinel */
+ public function getMasterAddrByName(string $master);
- public function master(string $master): array|false;
+ /** @return array|bool|RedisSentinel */
+ public function master(string $master);
- public function masters(): array|false;
+ /** @return array|bool|RedisSentinel */
+ public function masters(): array;
- public function ping(): bool;
+ /** @return bool|RedisSentinel */
+ public function ping();
- public function reset(string $pattern): bool;
+ /** @return bool|RedisSentinel */
+ public function reset(string $pattern);
- public function sentinels(string $master): array|false;
+ /** @return array|bool|RedisSentinel */
+ public function sentinels(string $master);
- public function slaves(string $master): array|false;
+ /** @return array|bool|RedisSentinel */
+ public function slaves(string $master);
}