You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not fully a bug, but half question. Why Illuminate\Redis\Connections\PhpRedisConnection::mget method returns array_map(): Argument #2 ($array) must be of type array, bool given. when empty array provided? Error is not obvious.
Maybe it should be (call result) empty array, false, null or exception? I think we need to check if empty array was passed.
Steps To Reproduce
configure redis cache on empty project using redis php extension
call cache()->many([]); in tinker
The text was updated successfully, but these errors were encountered:
Laravel Version
9.52.7
PHP Version
8.2.4
Database Driver & Version
No response
Description
It's not fully a bug, but half question. Why
Illuminate\Redis\Connections\PhpRedisConnection::mget
method returnsarray_map(): Argument #2 ($array) must be of type array, bool given.
when empty array provided? Error is not obvious.Maybe it should be (call result) empty array,
false
,null
or exception? I think we need to check if empty array was passed.Steps To Reproduce
cache()->many([]);
in tinkerThe text was updated successfully, but these errors were encountered: