From 5b722222e498fe55c6898aeab8126cc9026ab7b9 Mon Sep 17 00:00:00 2001 From: clementtalleu Date: Fri, 13 Sep 2024 12:05:32 +0200 Subject: [PATCH] cs fix --- src/Client/RedisClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);