From a9aef5e413ec52511785ab5e48d3e6f3fc76725a Mon Sep 17 00:00:00 2001 From: Alex Haible <52239823+AlexHaible@users.noreply.github.com> Date: Mon, 4 Aug 2025 11:43:28 +0200 Subject: [PATCH] Set $previous as nullable explicitly This resolves a deprecation notice in newer PHP versions --- QuickPay/API/Exceptions/TimeoutException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QuickPay/API/Exceptions/TimeoutException.php b/QuickPay/API/Exceptions/TimeoutException.php index 26dcad7..0e9e5f6 100644 --- a/QuickPay/API/Exceptions/TimeoutException.php +++ b/QuickPay/API/Exceptions/TimeoutException.php @@ -4,7 +4,7 @@ class TimeoutException extends GenericException { - public function __construct(string $message, int $code = 0, self $previous = null) + public function __construct(string $message, int $code = 0, ?self $previous = null) { parent::__construct($message, $code, $previous); }