From 2eafcc0f728e26293be2704802ed18994628eeb2 Mon Sep 17 00:00:00 2001 From: Adrian Gunawan Date: Fri, 14 Aug 2015 14:55:44 +1000 Subject: [PATCH] Use array() instead of the short notation [] --- lib/Cake/Test/Case/Utility/HashTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Test/Case/Utility/HashTest.php b/lib/Cake/Test/Case/Utility/HashTest.php index f6216ff0748..af14529e3fd 100644 --- a/lib/Cake/Test/Case/Utility/HashTest.php +++ b/lib/Cake/Test/Case/Utility/HashTest.php @@ -1476,7 +1476,7 @@ public function testSortRegularIgnoreCase() { */ public function testSortInvalidType() { $toSort = array('a', 'b', 'c'); - Hash::sort($toSort, '{n}', 'asc', ['regular'], true); + Hash::sort($toSort, '{n}', 'asc', array('regular'), true); } /**