This commit is contained in:
2020-10-30 01:23:33 +08:00
parent 5870e44c96
commit eb3ec8ae74
+2 -2
View File
@@ -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 = [];
/**