From 271e481035179debadbe196b9c47974f87e1e10f Mon Sep 17 00:00:00 2001 From: whwyy Date: Mon, 18 Dec 2023 17:22:29 +0800 Subject: [PATCH] eee --- Validator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Validator.php b/Validator.php index ecdd85c..bfaaf19 100644 --- a/Validator.php +++ b/Validator.php @@ -36,8 +36,8 @@ class Validator extends BaseValidator 'json' => ['class' => TypesOfValidator::class, 'method' => TypesOfValidator::JSON,], 'float' => ['class' => TypesOfValidator::class, 'method' => TypesOfValidator::FLOAT,], 'array' => ['class' => TypesOfValidator::class, 'method' => TypesOfValidator::ARRAY,], - 'maxlength' => ['class' => LengthValidator::class, 'method' => LengthValidator::MAX_LENGTH,], - 'minlength' => ['class' => LengthValidator::class, 'method' => LengthValidator::MIN_LENGTH,], + 'maxLength' => ['class' => LengthValidator::class, 'method' => LengthValidator::MAX_LENGTH,], + 'minLength' => ['class' => LengthValidator::class, 'method' => LengthValidator::MIN_LENGTH,], 'email' => ['class' => EmailValidator::class], 'length' => ['class' => LengthValidator::class], 'round' => ['class' => RoundValidator::class,],