Fix mismatched open array for arrayHasKeys.

This commit is contained in:
Euan 2020-07-07 16:08:30 +01:00 committed by GitHub
parent 4af076d19f
commit a204228146
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.' 'city' => 'Doe D.C.'
] ]
]); ]);
$v->rule(['arrayHasKeys', 'address', ['name', 'street', 'city']); $v->rule('arrayHasKeys', 'address', ['name', 'street', 'city']);
$v->validate(); $v->validate();
``` ```