mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-31 07:01:54 +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.
|
false.
|
||||||
|
|
||||||
```php
|
```php
|
||||||
Valitron\Validation::addRule('alwaysFail', function($field, $value, array $params) {
|
Valitron\Validator::addRule('alwaysFail', function($field, $value, array $params) {
|
||||||
return false;
|
return false;
|
||||||
}, 'Everything you do is wrong. You fail.');
|
}, 'Everything you do is wrong. You fail.');
|
||||||
```
|
```
|
||||||
|
|||||||
@ -12,8 +12,8 @@ return array(
|
|||||||
'in' => "Invalid value",
|
'in' => "Invalid value",
|
||||||
'notIn' => "Invalid value",
|
'notIn' => "Invalid value",
|
||||||
'ip' => "Invalid IP address",
|
'ip' => "Invalid IP address",
|
||||||
'email' => "Inalid email address",
|
'email' => "Invalid email address",
|
||||||
'url' => "Inalid URL",
|
'url' => "Invalid URL",
|
||||||
'urlActive' => "Must be active domain",
|
'urlActive' => "Must be active domain",
|
||||||
'alpha' => "Must contain only leters a-z",
|
'alpha' => "Must contain only leters a-z",
|
||||||
'alphaNum' => "Must contain only leters a-z and/or numbers 0-9",
|
'alphaNum' => "Must contain only leters a-z and/or numbers 0-9",
|
||||||
@ -26,3 +26,4 @@ return array(
|
|||||||
'contains' => "Must contain %s"
|
'contains' => "Must contain %s"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user