mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-30 23:01:52 +00:00
PHP 5.3 compatibility in array syntax
This commit is contained in:
parent
f8f1c0061b
commit
282f4a6ac3
@ -583,10 +583,10 @@ class ValidateTest extends BaseTestCase
|
||||
$v = new Validator(array('startDate' => '2013-01-27', 'endDate' => '2013-05-08'));
|
||||
$v->rule(
|
||||
'date',
|
||||
[
|
||||
array(
|
||||
'startDate',
|
||||
'endDate'
|
||||
]
|
||||
)
|
||||
);
|
||||
|
||||
$v->rule(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user