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); }