From b7229f32f86db0e8466df9696a6390e41c300f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 13 Dec 2022 14:23:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kiri-engine/Exception/AuthException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiri-engine/Exception/AuthException.php b/kiri-engine/Exception/AuthException.php index 565d3ed1..d765c92f 100644 --- a/kiri-engine/Exception/AuthException.php +++ b/kiri-engine/Exception/AuthException.php @@ -21,7 +21,7 @@ class AuthException extends \Exception * @param int $code * @param Throwable|null $previous */ - public function __construct($message = "", $code = 0, Throwable $previous = null) + public function __construct(string $message = "", int $code = 0, Throwable $previous = null) { parent::__construct($message, 4001, $previous); }