From a12b6cf10f4b0c0c7cee41b170fb4ecb019f2cbb Mon Sep 17 00:00:00 2001 From: zhenhui <1276357500@qq.com> Date: Mon, 13 Apr 2026 16:27:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8A=A5=E9=94=99Fatal=20err?= =?UTF-8?q?or:=20Type=20of=20app\common\library\token\TokenExpirationExcep?= =?UTF-8?q?tion::$message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/library/token/TokenExpirationException.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/common/library/token/TokenExpirationException.php b/app/common/library/token/TokenExpirationException.php index 9878967..81b976f 100644 --- a/app/common/library/token/TokenExpirationException.php +++ b/app/common/library/token/TokenExpirationException.php @@ -11,12 +11,15 @@ use Exception; */ class TokenExpirationException extends Exception { + protected array $data = []; + public function __construct( - protected string $message = '', - protected int $code = 409, - protected array $data = [], + string $message = '', + int $code = 409, + array $data = [], ?\Throwable $previous = null ) { + $this->data = $data; parent::__construct($message, $code, $previous); }