From 7ce537a76f4880822a45d5e03a6c6e51f5a56f59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 7 Sep 2021 17:23:45 +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 --- core/Kiri.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Kiri.php b/core/Kiri.php index a20767af..f95d679a 100644 --- a/core/Kiri.php +++ b/core/Kiri.php @@ -324,7 +324,7 @@ class Kiri * @param bool $isWorker * @throws Exception */ - public static function clearProcessId($workerId, $isWorker = false) + public static function clearProcessId($workerId, bool $isWorker = false) { clearstatcache(); $directory = $isWorker === true ? 'pid/worker' : 'pid/task';