← All changes
|
src/Framework/PaymentGateways/PaymentGatewayRegister.php
+2
-1
4.15.1
→
4.17.0
View file →
| @@ -20,12 +20,13 @@ | ||
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * Get Gateways |
| 23 | 23 | * |
| 24 | + * @since 4.17.0 Declare the nullable parameter explicitly. | |
| 24 | 25 | * @since 2.30.0 added $supportedFormVersion param to filter gateways by supported form version |
| 25 | 26 | * @since 2.18.0 |
| 26 | 27 | */ |
| 27 | - public function getPaymentGateways(int $supportedFormVersion = null): array | |
| 28 | + public function getPaymentGateways(?int $supportedFormVersion = null): array | |
| 28 | 29 | { |
| 29 | 30 | if (!$supportedFormVersion) { |
| 30 | 31 | return $this->gateways; |
| 31 | 32 | } |