Skip to content

Commit

Permalink
Fixed docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
romeOz committed Jan 30, 2015
1 parent 5956865 commit 25715d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ output:
```php
use rock\validate\Validate;

$v = Validate::locale(Validate::RU)->length(10, 20, true)->regex('/^[a-z]+$/i');
$v = Validate::locale('ru')->length(10, 20, true)->regex('/^[a-z]+$/i');
$v->validate('O’Reilly'); // output: false

$v->getErrors();
Expand Down

0 comments on commit 25715d5

Please sign in to comment.