← All changes
|
src/DonorDashboards/Exceptions/MissingTabException.php
+2
-1
4.16.8
→
4.17.0
View file →
| @@ -15,8 +15,9 @@ | ||
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * MissingTabException constructor. |
| 18 | 18 | * |
| 19 | + * @since 4.17.0 Declare the nullable parameter explicitly. | |
| 19 | 20 | * @since 2.10.0 |
| 20 | 21 | * |
| 21 | 22 | * @param $tabId |
| 22 | 23 | * @param int $code |
| @@ -21,9 +22,9 @@ | ||
| 21 | 22 | * @param $tabId |
| 22 | 23 | * @param int $code |
| 23 | 24 | * @param Exception|null $previous |
| 24 | 25 | */ |
| 25 | - public function __construct($tabId, $code = 0, Exception $previous = null) | |
| 26 | + public function __construct($tabId, $code = 0, ?Exception $previous = null) | |
| 26 | 27 | { |
| 27 | 28 | $message = __('No tab exists with the ID: ', 'give') . $tabId; |
| 28 | 29 | |
| 29 | 30 | parent::__construct($message, $code, $previous); |