From f51f77508251abdff25b104e6ed7c38a7a66d2ad Mon Sep 17 00:00:00 2001 From: "Brooke." Date: Thu, 13 Feb 2025 03:29:22 -0800 Subject: [PATCH] Update U2F.php Fix PHP 8.4 warning --- includes/Yubico/U2F.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Yubico/U2F.php b/includes/Yubico/U2F.php index e819bbc1..bbb6e9a0 100644 --- a/includes/Yubico/U2F.php +++ b/includes/Yubico/U2F.php @@ -501,7 +501,7 @@ class Error extends \Exception * @param int $code * @param \Exception|null $previous */ - public function __construct($message, $code, \Exception $previous = null) { + public function __construct($message, $code, ?\Exception $previous = null) { parent::__construct($message, $code, $previous); } }