| @@ -20,11 +20,12 @@ | ||
| 20 | 20 | return 'honeypot'; |
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | + * @since 4.17.0 Declare the nullable parameter explicitly. | |
| 24 | 25 | * @since 3.16.2 |
| 25 | 26 | */ |
| 26 | - public static function fromString(string $options = null): ValidationRule | |
| 27 | + public static function fromString(?string $options = null): ValidationRule | |
| 27 | 28 | { |
| 28 | 29 | return new self(); |
| 29 | 30 | } |
| 30 | 31 | |