Skip to content

Commit

Permalink
Update U2F.php
Browse files Browse the repository at this point in the history
Fix PHP 8.4 warning
  • Loading branch information
BrookeDot authored Feb 13, 2025
1 parent 953b7c9 commit f51f775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Yubico/U2F.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit f51f775

Please sign in to comment.