Fixed wrong parameter format in readme

This commit is contained in:
chrissound 2013-08-31 16:15:58 +01:00
parent 4465bfd4a1
commit 4c21ee2b84

View File

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