PHP 5.3 compatibility in array syntax

This commit is contained in:
Lane Roberts 2014-09-18 11:32:30 -05:00
parent f8f1c0061b
commit 282f4a6ac3

View File

@ -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(