Skip to content

Commit

Permalink
Fix mismatched open array for arrayHasKeys.
Browse files Browse the repository at this point in the history
  • Loading branch information
euantorano authored Jul 7, 2020
1 parent 4af076d commit a204228
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 @@ -1118,7 +1118,7 @@ $v = new Valitron\Validator([
'city' => 'Doe D.C.'
]
]);
$v->rule(['arrayHasKeys', 'address', ['name', 'street', 'city']);
$v->rule('arrayHasKeys', 'address', ['name', 'street', 'city']);
$v->validate();
```

Expand Down

0 comments on commit a204228

Please sign in to comment.