diff --git a/src/Illuminate/Cache/RedisStore.php b/src/Illuminate/Cache/RedisStore.php index 571419849d1f..be4dc96ef37b 100755 --- a/src/Illuminate/Cache/RedisStore.php +++ b/src/Illuminate/Cache/RedisStore.php @@ -77,6 +77,10 @@ public function get($key) */ public function many(array $keys) { + if (count($keys) === 0) { + return []; + } + $results = []; $values = $this->connection()->mget(array_map(function ($key) {