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 = <<