Skip to content

Commit

Permalink
Update Validator.php
Browse files Browse the repository at this point in the history
  • Loading branch information
freost committed Nov 16, 2023
1 parent e3d4e28 commit b27f214
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mako/validator/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
use mako\validator\rules\MatchField;
use mako\validator\rules\MaxLength;
use mako\validator\rules\MinLength;
use mako\validator\rules\NotEmpty;
use mako\validator\rules\NotIn;
use mako\validator\rules\Number;
use mako\validator\rules\NumberFloat;
Expand Down Expand Up @@ -147,6 +148,7 @@ class Validator
'mime_type' => MimeType::class,
'min_dimensions' => MinDimensions::class,
'min_length' => MinLength::class,
'not_empty' => NotEmpty::class,
'not_in' => NotIn::class,
'number:float' => NumberFloat::class,
'number:int' => NumberInt::class,
Expand Down

0 comments on commit b27f214

Please sign in to comment.