From e11dbf03e213ff0a4596ea85b72c2b30a8a3b6a3 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 9 Oct 2020 18:06:33 +0100 Subject: [PATCH] Process: apply native typehint to kill() --- src/utils/Process.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/utils/Process.php b/src/utils/Process.php index 37f751d1c..b489ffd25 100644 --- a/src/utils/Process.php +++ b/src/utils/Process.php @@ -123,10 +123,7 @@ final class Process{ return count(ThreadManager::getInstance()->getAll()) + 2; //MainLogger + Main Thread } - /** - * @param int $pid - */ - public static function kill($pid) : void{ + public static function kill(int $pid) : void{ $logger = \GlobalLogger::get(); if($logger instanceof MainLogger){ $logger->syncFlushBuffer();