| @@ -15,11 +15,12 @@ | ||
| 15 | 15 | return 'authentication'; |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | + * @since 4.17.0 Declare the nullable parameter explicitly. | |
| 19 | 20 | * @since 3.0.0 |
| 20 | 21 | */ |
| 21 | - public static function fromString(string $options = null): ValidationRule | |
| 22 | + public static function fromString(?string $options = null): ValidationRule | |
| 22 | 23 | { |
| 23 | 24 | return new self(); |
| 24 | 25 | } |
| 25 | 26 | |