Closed boesing closed 1 year ago
As per https://github.com/phpredis/phpredis/blob/35a7cc094c6c264aa37738b074c4c54c4ca73b87/redis_cluster.stub.php#L621, the RedisCluster#mget method can return non-array values:
RedisCluster#mget
RedisCluster
multi
false
RedisClusterException
Fixes #74
I am unable to enforce an internal redis error so that false is not testable. Unless some1 has a tipp for me, I just handle the return value as annotated rather than testing any use-case.
Description
As per https://github.com/phpredis/phpredis/blob/35a7cc094c6c264aa37738b074c4c54c4ca73b87/redis_cluster.stub.php#L621, the
RedisCluster#mget
method can return non-array values:RedisCluster
in case we are withinmulti
modefalse
in case there was an error which did not end up in anRedisClusterException
Fixes #74