| @@ -24,11 +24,12 @@ | ||
| 24 | 24 | return 'giveCurrency'; |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | + * @since 4.17.0 Declare the nullable parameter explicitly. | |
| 28 | 29 | * @since 4.10.0 |
| 29 | 30 | */ |
| 30 | - public static function fromString(string $options = null): ValidationRule | |
| 31 | + public static function fromString(?string $options = null): ValidationRule | |
| 31 | 32 | { |
| 32 | 33 | return new self(); |
| 33 | 34 | } |
| 34 | 35 | |