From 6bd4c6cff5183dd80a526c7c7e0f6126b177202a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 19 Mar 2021 10:31:25 +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/Process/Biomonitoring.php | 4 ++-- System/Process/Process.php | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/System/Process/Biomonitoring.php b/System/Process/Biomonitoring.php index 8a3f3d1a..48d10e4b 100644 --- a/System/Process/Biomonitoring.php +++ b/System/Process/Biomonitoring.php @@ -4,7 +4,7 @@ namespace Snowflake\Process; -use Snowflake\Exception\ComponentException; +use Exception; use Snowflake\Snowflake; use Swoole\Timer; @@ -18,7 +18,7 @@ class Biomonitoring extends Process /** * @param \Swoole\Process $process - * @throws ComponentException + * @throws Exception */ public function onHandler(\Swoole\Process $process): void { diff --git a/System/Process/Process.php b/System/Process/Process.php index 5368ae47..068a7b16 100644 --- a/System/Process/Process.php +++ b/System/Process/Process.php @@ -39,7 +39,6 @@ abstract class Process extends \Swoole\Process implements SProcess /** * @param Process $process - * @throws ComponentException * @throws Exception */ public function _load(Process $process)