Merge pull request #26 from chrissound/readmefix

Fixed wrong parameter format in readme
This commit is contained in:
Vance Lucas 2013-08-31 09:14:26 -07:00
commit 247f6f3112

View File

@ -145,7 +145,8 @@ more complex than a string, you need to wrap the rule in an array.
```php ```php
$rules = [ $rules = [
'required' => [ 'required' => [
['foo', 'bar'] ['foo'],
['bar']
], ],
'length' => [ 'length' => [
['foo', 3] ['foo', 3]