Skip to content

Commit

Permalink
Fix PHP 8.4 Implicitly marking parameter $previous as nullable is dep…
Browse files Browse the repository at this point in the history
…recated #664
  • Loading branch information
kasparsd authored Feb 13, 2025
2 parents 953b7c9 + f51f775 commit 6d6d39a
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 6d6d39a

Please sign in to comment.