|
22 | 22 | * @method bool sismember(string $set, string $key) |
23 | 23 | * @method bool del(string $key) |
24 | 24 | * @method void set(string $key, mixed $value) |
25 | | - * @method bool expire(string $key, string $key2) |
| 25 | + * @method bool expire(string $key, int $time) |
26 | 26 | * @method bool ping(?string $value = null) |
27 | 27 | * @method bool incrby(string $key, int $increment) |
28 | 28 | * @method bool decrby(string $key, int $decrement) |
29 | 29 | * @method bool rpush(string $key, string ...$element) |
30 | | - * @method array blpop(string $key, int $timeout) |
31 | | - * @method array lpop(string $key, int $count = 1) |
32 | | - * @method array rpop(string $key, int $count = 1) |
33 | | - * @method int llen(string $key) |
34 | | - * @method array lrange(string $key, int $start, int $stop) |
| 30 | + * @method array blpop(string|array $key, int $timeout) |
| 31 | + * @method string|bool lpop(string $key, int $count = 1) |
| 32 | + * @method string|bool rpop(string $key, int $count = 1) |
35 | 33 | * @method int rpoplpush(string $source, string $destination) |
36 | | - * @method void zadd(string $key, int $score, string $member) |
| 34 | + * @method int|false llen(string $key) |
| 35 | + * @method array lrange(string $key, int $start, int $stop) |
| 36 | + * @method void zadd(string $key, int $score, mixed ...$value) |
37 | 37 | * @method int zcard(string $key) |
38 | 38 | * @method int sadd(string $key, string $member) |
39 | 39 | * @method int srem(string $key, string $member) |
40 | 40 | * @method int lrem(string $key, int $count, string $element) |
41 | 41 | * @method array keys(string $pattern) |
42 | | - * @method int zrem(string $key, string $member) |
43 | | - * @method array zrangebyscore(string $key, int $min, int $max, bool $scores) |
| 42 | + * @method int zrem(string $key, string|int ...$member) |
| 43 | + * @method array zrangebyscore(string $key, int|string $min, int|string $max, array $options = []) |
44 | 44 |
|
45 | 45 | */ |
46 | 46 | class Redis |
|
0 commit comments