mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-31 07:01:54 +00:00
Merge pull request #6 from spekkionu/master
Fixed some typos in messages and documentation.
This commit is contained in:
commit
9e13e8ef82
@ -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.');
|
||||
```
|
||||
|
||||
@ -26,3 +26,4 @@ return array(
|
||||
'contains' => "Must contain %s"
|
||||
);
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user