← All changes
|
src/DonationForms/Rules/SubscriptionInstallmentsRule.php
+2
-1
4.16.7.1
→
4.17.0
View file →
| @@ -17,11 +17,12 @@ | ||
| 17 | 17 | return 'subscriptionInstallments'; |
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | + * @since 4.17.0 Declare the nullable parameter explicitly. | |
| 21 | 22 | * @since 3.0.0 |
| 22 | 23 | */ |
| 23 | - public static function fromString(string $options = null): ValidationRule | |
| 24 | + public static function fromString(?string $options = null): ValidationRule | |
| 24 | 25 | { |
| 25 | 26 | return new self(); |
| 26 | 27 | } |
| 27 | 28 | |