diff --git a/README.md b/README.md index f5f6db7..6496d70 100644 --- a/README.md +++ b/README.md @@ -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]