From 58776a8a154413d2d70e3f72bd7e375de556dd8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 26 Oct 2020 14:31:50 +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/Error/ErrorHandler.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/System/Error/ErrorHandler.php b/System/Error/ErrorHandler.php index c56f4e22..7f388fd8 100644 --- a/System/Error/ErrorHandler.php +++ b/System/Error/ErrorHandler.php @@ -24,12 +24,10 @@ use Snowflake\Snowflake; class ErrorHandler extends Component implements ErrorInterface { - /** @var IFormatter $message */ - private $message = NULL; + /** @var null|IFormatter $message */ + private null|IFormatter $message = NULL; - public $action; - - public $category = 'app'; + public string $category = 'app'; /** * 错误处理注册