← All changes
|
src/DonationForms/Exceptions/DonationFormForbidden.php
+4
-1
4.16.1
→
4.17.0
View file →
| @@ -9,9 +9,12 @@ | ||
| 9 | 9 | * @since 3.14.0 |
| 10 | 10 | */ |
| 11 | 11 | class DonationFormForbidden extends Exception |
| 12 | 12 | { |
| 13 | - public function __construct($message = 'Forbidden', $code = 403, Throwable $previous = null) | |
| 13 | + /** | |
| 14 | + * @since 4.17.0 Declare the nullable parameter explicitly. | |
| 15 | + */ | |
| 16 | + public function __construct($message = 'Forbidden', $code = 403, ?Throwable $previous = null) | |
| 14 | 17 | { |
| 15 | 18 | parent::__construct($message, $code, $previous); |
| 16 | 19 | } |
| 17 | 20 | } |