diff --git a/src/Illuminate/Redis/RedisManager.php b/src/Illuminate/Redis/RedisManager.php index 4ee5d57983ef..8bede93e1f4b 100644 --- a/src/Illuminate/Redis/RedisManager.php +++ b/src/Illuminate/Redis/RedisManager.php @@ -118,7 +118,9 @@ public function resolve($name = null) protected function resolveCluster($name) { return $this->connector()->connectToCluster( - $this->parseConnectionConfiguration($this->config['clusters'][$name]), + array_map(function ($config) { + return $this->parseConnectionConfiguration($config); + }, $this->config['clusters'][$name]), $this->config['clusters']['options'] ?? [], $this->config['options'] ?? [] );