bug on evalSha function
vicla31 opened this issue · 3 comments
vicla31 commented
Hi,
There is a bug on evalSha function in lib/Redis.php (l. 1754)
PHP Warning: array_merge(): Argument #3 is not an array in vendor/amphp/redis/lib/Redis.php on line 1755
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Amp\Redis\Client::send() must be of the type array, null given, called in vendor/amphp/redis/lib/Redis.php on line 1755 and defined in vendor/amphp/redis/lib/Client.php:111
Fix by casting type array on third argument : (array) sizeof((array) $keys)
Thank you