From e4b24287353820f2ed85b72dcbc006b088b442bd Mon Sep 17 00:00:00 2001 From: mark_story Date: Tue, 21 Jul 2015 16:28:17 -0400 Subject: [PATCH] Fix PHPCS errors. --- lib/Cake/Test/Case/Utility/HashTest.php | 2 +- lib/Cake/Utility/Hash.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Cake/Test/Case/Utility/HashTest.php b/lib/Cake/Test/Case/Utility/HashTest.php index 7976929d3..e050ca982 100644 --- a/lib/Cake/Test/Case/Utility/HashTest.php +++ b/lib/Cake/Test/Case/Utility/HashTest.php @@ -318,7 +318,7 @@ class HashTest extends CakeTestCase { ) ) ), - '2' => array('2.1' => '2.1.1',) + '2' => array('2.1' => '2.1.1') ); $result = Hash::maxDimensions($data); $this->assertEquals($result, 5); diff --git a/lib/Cake/Utility/Hash.php b/lib/Cake/Utility/Hash.php index 6f5b32abc..b5245f394 100644 --- a/lib/Cake/Utility/Hash.php +++ b/lib/Cake/Utility/Hash.php @@ -756,7 +756,6 @@ class Hash { * number of dimensions in a mixed array. * * @param array $data Array to count dimensions on - * @param int $count counts current depth of this iteration * @return int The maximum number of dimensions in $data * @link http://book.cakephp.org/2.0/en/core-utility-libraries/hash.html#Hash::maxDimensions */