diff --git a/src/Client/RedisClient.php b/src/Client/RedisClient.php index 8e17b84..a675a26 100644 --- a/src/Client/RedisClient.php +++ b/src/Client/RedisClient.php @@ -26,7 +26,7 @@ public function __construct(protected ?\Redis $redis = null) } if (array_key_exists('REDIS_USER', $_SERVER) && array_key_exists('REDIS_PASSWORD', $_SERVER)) { - $redisConfig['auth'] =[$_SERVER['REDIS_USER'], $_SERVER['REDIS_PASSWORD']]; + $redisConfig['auth'] = [$_SERVER['REDIS_USER'], $_SERVER['REDIS_PASSWORD']]; } $this->redis = $redis ?? new \Redis($redisConfig !== [] ? $redisConfig : null);