| @@ -104,11 +104,12 @@ | ||
| 104 | 104 | } |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | /** |
| 108 | + * @since 4.17.0 Declare the nullable parameter explicitly. | |
| 108 | 109 | * @since 2.32.0 |
| 109 | 110 | */ |
| 110 | - public static function fromString(string $options = null): ValidationRule | |
| 111 | + public static function fromString(?string $options = null): ValidationRule | |
| 111 | 112 | { |
| 112 | 113 | return new self(); |
| 113 | 114 | } |
| 114 | 115 | |