From 62bfd279bef035f08c23cfc939ecfde3097e2080 Mon Sep 17 00:00:00 2001 From: zhenhui <1276357500@qq.com> Date: Mon, 13 Apr 2026 16:31:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E7=BA=A7=E6=8A=A5=E9=94=99**?= =?UTF-8?q?*=E4=BC=98=E5=8C=96=E6=8A=A5=E9=94=99Fatal=20error:=20Type=20of?= =?UTF-8?q?=20app\common\library\token\TokenExpirationException::$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); }