From eb3ec8ae747e88f5a8c9ef4d03f8fad09b5db58b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 30 Oct 2020 01:23:33 +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/Snowflake.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/System/Snowflake.php b/System/Snowflake.php index 48a2d7d9..e70510b5 100644 --- a/System/Snowflake.php +++ b/System/Snowflake.php @@ -339,11 +339,11 @@ class Snowflake */ public static function reload() { - return Process::kill(Snowflake::getMasterPid(), SIGUSR1); + return Process::kill((int)Snowflake::getMasterPid(), SIGUSR1); } - private static $_autoload = []; + private static array $_autoload = []; /**