We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6.3.5
Redis::mget can return false when no keys are provided. phpredis/phpredis#1810
Redis::mget
This is annoying because the signature says mget(): \Redis|array, but it's actually mget(): \Redis|array|false.
mget(): \Redis|array
mget(): \Redis|array|false
Redis6Proxy::mget has the correct signature, but it doesn't handle the possible false.
Set up PHPRedis v6 and do Redis6Proxy::mget([])
Redis6Proxy::mget([])
Return [] if false.
IMO this is a bug in the module, but it's a bug since 2020.
The text was updated successfully, but these errors were encountered:
Redis6Proxy::mget()
mget()
May be closed by phpredis/phpredis#2422
Sorry, something went wrong.
No branches or pull requests
Symfony version(s) affected
6.3.5
Description
Redis::mget
can return false when no keys are provided. phpredis/phpredis#1810This is annoying because the signature says
mget(): \Redis|array
, but it's actuallymget(): \Redis|array|false
.Redis6Proxy::mget has the correct signature, but it doesn't handle the possible false.
How to reproduce
Set up PHPRedis v6 and do
Redis6Proxy::mget([])
Possible Solution
Return [] if false.
Additional Context
IMO this is a bug in the module, but it's a bug since 2020.
The text was updated successfully, but these errors were encountered: