|  | 
| 3 | 3 | /** | 
| 4 | 4 |  * Helper autocomplete for php redis extension | 
| 5 | 5 |  * | 
| 6 |  | - * @mixin \Redis | 
| 7 |  | - * | 
| 8 | 6 |  * @link   https://github.com/phpredis/phpredis/blob/develop/redis_array.stub.php | 
| 9 | 7 |  */ | 
| 10 | 8 | class RedisArray | 
| @@ -207,4 +205,44 @@ public function multi(string $host, int $mode = Redis::MULTI): bool|RedisArray { | 
| 207 | 205 |      * </pre> | 
| 208 | 206 |      */ | 
| 209 | 207 |     public function info(): bool|array {} | 
|  | 208 | + | 
|  | 209 | +    public function bgsave(): array {} | 
|  | 210 | + | 
|  | 211 | +    public function del(string|array $key, string ...$otherkeys): bool|int {} | 
|  | 212 | + | 
|  | 213 | +    public function discard(): bool|null {} | 
|  | 214 | + | 
|  | 215 | +    public function exec(): bool|null|array {} | 
|  | 216 | + | 
|  | 217 | +    public function flushall(): bool|array {} | 
|  | 218 | + | 
|  | 219 | +    public function flushdb(): bool|array {} | 
|  | 220 | + | 
|  | 221 | +    public function getOption(int $opt): bool|array {} | 
|  | 222 | + | 
|  | 223 | +    public function hscan(string $key, null|int|string &$iterator, ?string $pattern = null, int $count = 0): bool|array {} | 
|  | 224 | + | 
|  | 225 | +    public function keys(string $pattern): bool|array {} | 
|  | 226 | + | 
|  | 227 | +    public function mget(array $keys): bool|array {} | 
|  | 228 | + | 
|  | 229 | +    public function mset(array $pairs): bool {} | 
|  | 230 | + | 
|  | 231 | +    public function ping(): bool|array {} | 
|  | 232 | + | 
|  | 233 | +    public function save(): bool|array {} | 
|  | 234 | + | 
|  | 235 | +    public function scan(null|int|string &$iterator, string $node, ?string $pattern = null, int $count = 0): bool|array {} | 
|  | 236 | + | 
|  | 237 | +    public function select(int $index): bool|array {} | 
|  | 238 | + | 
|  | 239 | +    public function setOption(int $opt, string $value): bool|array {} | 
|  | 240 | + | 
|  | 241 | +    public function sscan(string $key, null|int|string &$iterator, ?string $pattern = null, int $count = 0): bool|array {} | 
|  | 242 | + | 
|  | 243 | +    public function unlink(string|array $key, string ...$otherkeys): bool|int {} | 
|  | 244 | + | 
|  | 245 | +    public function unwatch(): bool|null {} | 
|  | 246 | + | 
|  | 247 | +    public function zscan(string $key, null|int|string &$iterator, ?string $pattern = null, int $count = 0): bool|array {} | 
| 210 | 248 | } | 
0 commit comments