Utils::makeValidator fix typo min rule

This commit is contained in:
Jérémy Munsch 2021-10-15 12:10:07 +02:00
parent 639e6eaceb
commit 93950cd75e
No known key found for this signature in database
GPG key ID: 55196BEE445F6049

View file

@ -131,7 +131,7 @@ class Utils
return \is_string($data[$attribute]) and
\strlen($data[$attribute]) >= (int)$rParams[0];
},
'error' => self::translate($attribute) . " doit avoir moins ou $rParams[0] caratères"
'error' => self::translate($attribute) . " doit avoir au moins $rParams[0] caratères"
];
break;
case 'max':