← All changes
|
src/Donors/Exceptions/FailedDonorUserCreationException.php
+4
-1
4.16.3
→
4.17.0
View file →
| @@ -13,9 +13,12 @@ | ||
| 13 | 13 | class FailedDonorUserCreationException extends Exception |
| 14 | 14 | { |
| 15 | 15 | protected $donor; |
| 16 | 16 | |
| 17 | - public function __construct( Donor $donor = null, $code = 0, $previous = null ) { | |
| 17 | + /** | |
| 18 | + * @since 4.17.0 Declare the nullable parameter explicitly. | |
| 19 | + */ | |
| 20 | + public function __construct( ?Donor $donor = null, $code = 0, $previous = null ) { | |
| 18 | 21 | parent::__construct('Failed creating a user for the donor.', $code, $previous); |
| 19 | 22 | $this->donor = $donor; |
| 20 | 23 | } |
| 21 | 24 | } |