Merge pull request #316 from euantorano/patch-1

Fix invalid opening bracket for arrayHasKeys example
This commit is contained in:
Willem Wollebrants 2020-07-10 10:55:05 +02:00 committed by GitHub
commit 9268adeeb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
```