Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jturbide committed Aug 3, 2023
1 parent 86e2c9f commit 6773ab5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mvc/Model/Validate.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ public function addNumberValidation(Validation $validator, string $field, int $m
'message' => $this->_('not-between'),
'allowEmpty' => true,
]));

return $validator;
}

public function addStringLengthValidation(Validation $validator, string $field, int $minChar = 0, int $maxChar = 255, bool $allowEmpty = true): Validation
Expand Down

0 comments on commit 6773ab5

Please sign in to comment.