From c8da2da9e71719887d4872b32f1f5cebc3ac0d68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 17 Aug 2021 19:16:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Cache/Redis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Cache/Redis.php b/System/Cache/Redis.php index 42d12659..867c6b62 100644 --- a/System/Cache/Redis.php +++ b/System/Cache/Redis.php @@ -140,7 +140,7 @@ SCRIPT; $config = $this->get_config(); $client = $connections->get($config, true); - if (!($client instanceof \Redis)) { + if (!($client instanceof Base\Redis)) { throw new Exception('Redis connections more.'); } return $client;