From 0b9f59d80c8070655f466092ff9933d77876386b Mon Sep 17 00:00:00 2001 From: Natan Felles Date: Fri, 22 Nov 2024 15:16:58 -0300 Subject: [PATCH] Suppress Redis warning because it throws exception --- src/SaveHandlers/RedisHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SaveHandlers/RedisHandler.php b/src/SaveHandlers/RedisHandler.php index f153dca..d0ebed8 100644 --- a/src/SaveHandlers/RedisHandler.php +++ b/src/SaveHandlers/RedisHandler.php @@ -109,7 +109,7 @@ public function open($path, $name) : bool } $this->redis = new Redis(); try { - $this->redis->connect( + @$this->redis->connect( $this->config['host'], $this->config['port'], $this->config['timeout']