Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #6 from spekkionu/master

Fixed some typos in messages and documentation.
  • Loading branch information...
commit 9e13e8ef82f651b0acc4f8babf9d304546f95d5e 2 parents ff277b5 + 922f354
@vlucas authored
Showing with 2 additions and 1 deletion.
  1. +1 −1  README.md
  2. +1 −0  lang/en.php
View
2  README.md
@@ -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.');
```
View
1  lang/en.php
@@ -26,3 +26,4 @@
'contains' => "Must contain %s"
);
+
Please sign in to comment.
Something went wrong with that request. Please try again.