mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-30 23:01:52 +00:00
Fix some typos.
This commit is contained in:
parent
c049a8f380
commit
922f3546bd
@ -102,7 +102,7 @@ case of an error. The callback provided should return boolean true or
|
||||
false.
|
||||
|
||||
```php
|
||||
Valitron\Validation::addRule('alwaysFail', function($field, $value, array $params) {
|
||||
Valitron\Validator::addRule('alwaysFail', function($field, $value, array $params) {
|
||||
return false;
|
||||
}, 'Everything you do is wrong. You fail.');
|
||||
```
|
||||
|
||||
@ -12,8 +12,8 @@ return array(
|
||||
'in' => "Invalid value",
|
||||
'notIn' => "Invalid value",
|
||||
'ip' => "Invalid IP address",
|
||||
'email' => "Inalid email address",
|
||||
'url' => "Inalid URL",
|
||||
'email' => "Invalid email address",
|
||||
'url' => "Invalid URL",
|
||||
'urlActive' => "Must be active domain",
|
||||
'alpha' => "Must contain only leters a-z",
|
||||
'alphaNum' => "Must contain only leters a-z and/or numbers 0-9",
|
||||
@ -26,3 +26,4 @@ return array(
|
||||
'contains' => "Must contain %s"
|
||||
);
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user