From 7aa303ea1613a089bc268e5e6c864ed65abb5b3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 29 Mar 2021 15:25:39 +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 +- System/Pool/Redis.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/System/Cache/Redis.php b/System/Cache/Redis.php index 29811d70..f633cbe7 100644 --- a/System/Cache/Redis.php +++ b/System/Cache/Redis.php @@ -87,7 +87,7 @@ class Redis extends Component * @return bool * @throws Exception */ - public function lock($key, $timeout = 5) + public function lock($key, $timeout = 5): bool { $script = <<