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