eee
This commit is contained in:
+4
-4
@@ -36,10 +36,10 @@ class Validator extends BaseValidator
|
|||||||
'json' => ['class' => TypesOfValidator::class, 'method' => TypesOfValidator::JSON,],
|
'json' => ['class' => TypesOfValidator::class, 'method' => TypesOfValidator::JSON,],
|
||||||
'float' => ['class' => TypesOfValidator::class, 'method' => TypesOfValidator::FLOAT,],
|
'float' => ['class' => TypesOfValidator::class, 'method' => TypesOfValidator::FLOAT,],
|
||||||
'array' => ['class' => TypesOfValidator::class, 'method' => TypesOfValidator::ARRAY,],
|
'array' => ['class' => TypesOfValidator::class, 'method' => TypesOfValidator::ARRAY,],
|
||||||
'maxlength' => ['class' => LengthValidator::class, 'method' => 'max',],
|
'maxlength' => ['class' => LengthValidator::class, 'method' => LengthValidator::MAX_LENGTH,],
|
||||||
'minlength' => ['class' => LengthValidator::class, 'method' => 'min',],
|
'minlength' => ['class' => LengthValidator::class, 'method' => LengthValidator::MIN_LENGTH,],
|
||||||
'email' => ['class' => EmailValidator::class, 'method' => 'email',],
|
'email' => ['class' => EmailValidator::class],
|
||||||
'length' => ['class' => LengthValidator::class, 'method' => 'default',],
|
'length' => ['class' => LengthValidator::class],
|
||||||
'round' => ['class' => RoundValidator::class,],
|
'round' => ['class' => RoundValidator::class,],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user