From b3f22240b0610c427de0ddd013e617091c92dc93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 16 Aug 2023 01:01:48 +0800 Subject: [PATCH] qqq --- kiri-engine/Redis/Redis.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kiri-engine/Redis/Redis.php b/kiri-engine/Redis/Redis.php index 01750472..e7acb2bc 100644 --- a/kiri-engine/Redis/Redis.php +++ b/kiri-engine/Redis/Redis.php @@ -14,7 +14,6 @@ use Kiri; use Kiri\Exception\RedisConnectException; use Kiri\Pool\Pool; use Kiri\Server\Events\OnWorkerExit; -use ReflectionException; /** * Class Redis @@ -139,7 +138,7 @@ SCRIPT; */ public function destroy(): void { - $this->pool()->flush($this->host,0); + $this->pool()->flush($this->host, 0); }