From 55a656bb6f75387b6a2b09f80ebf5b8e1b002098 Mon Sep 17 00:00:00 2001 From: whwyy Date: Mon, 18 Dec 2023 15:04:17 +0800 Subject: [PATCH] eee --- LengthValidator.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/LengthValidator.php b/LengthValidator.php index 702138c..5c243b7 100644 --- a/LengthValidator.php +++ b/LengthValidator.php @@ -16,7 +16,10 @@ class LengthValidator extends BaseValidator const string MAX_LENGTH = 'max'; const string MIN_LENGTH = 'min'; - public string $method; + /** + * @var string + */ + public string $method = 'default'; /** * @param string $field