← All changes
|
src/Framework/PaymentGateways/Commands/SubscriptionProcessing.php
+2
-1
4.16.9
→
4.17.0
View file →
| @@ -20,13 +20,14 @@ | ||
| 20 | 20 | */ |
| 21 | 21 | public $gatewaySubscriptionId; |
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | + * @since 4.17.0 Declare the nullable parameter explicitly. | |
| 24 | 25 | * @since 2.23.2 |
| 25 | 26 | */ |
| 26 | 27 | public function __construct( |
| 27 | 28 | string $gatewaySubscriptionId, |
| 28 | - string $gatewayTransactionId = null | |
| 29 | + ?string $gatewayTransactionId = null | |
| 29 | 30 | ) { |
| 30 | 31 | $this->gatewayTransactionId = $gatewayTransactionId; |
| 31 | 32 | $this->gatewaySubscriptionId = $gatewaySubscriptionId; |
| 32 | 33 | } |