phpredis-phpdoc icon indicating copy to clipboard operation
phpredis-phpdoc copied to clipboard

@phpdoc extension php for IDE autocomplete

Results 10 phpredis-phpdoc issues
Sort by recently updated
recently updated
newest added

``` https://github.com/ukko/phpredis-phpdoc/blob/0d81e3ef83a39227e894bf7b67505c349c4ab21d/src/Redis.php#L2980 public function zAdd($key, $options, $score1, $value1, $score2 = null, $value2 = null, $scoreN = null, $valueN = null) ``` ``` https://github.com/phpredis/phpredis/blob/48d18fcedab884820250436e7734bd6d154c7d4f/redis.c#L2132 Redis::zAdd(string key, int score, string value) ```

All methods return self in multi mode, but stubs don't describe this behaviour [https://github.com/phpredis/phpredis#multi-exec-discard](https://github.com/phpredis/phpredis#multi-exec-discard)

An `$async` option was added in phpredis 4.1 for methods `flushDB()` and `flushAll()` but it was forgotten in their doc. **Question:** I am not sure about how to say the...

Hey guys I have a situation when I want to get keys with a pattern using `keys()` method. I believe this method sometimes returns another type rather array.

All set commands require strings for $value argument, but in fact we can pass mixed (arrays etc), because of serializers. https://github.com/ukko/phpredis-phpdoc/blob/master/src/Redis.php#L222 ``` /** * Set the string value in argument...

i have a simple instance of redis client. But i am rpush a data to redis, throws a exception "read error on connection"。 Is that message is append php extends....

All methods should have @throws tag. Without it IDE shows "Exception is never thrown in correspoding try block".

Currently the `RedisCluster` class is not exported via extension. Maybe we can add this at least into the stubs here in the master branch at least.

See https://github.com/phpredis/phpredis/releases/tag/5.3.7 Thanks, Peter

` $redis = new Redis(); $redis->connect(); $redis->select(1); $key = '1234'; $id = $redis->rawCommand('cluster keyslot', $key); $memory = $redis->rawCommand('MEMORY USAGE', $key); ` # Server redis_version:5.0.14