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