From fdc42a24ca216acffa81ff754edb1c62a01c869b Mon Sep 17 00:00:00 2001 From: euromark Date: Tue, 8 Apr 2014 03:27:45 +0200 Subject: [PATCH] Without any params this method does not make sense --- lib/Cake/Utility/Set.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Utility/Set.php b/lib/Cake/Utility/Set.php index 1da93818a..db74ef156 100644 --- a/lib/Cake/Utility/Set.php +++ b/lib/Cake/Utility/Set.php @@ -735,7 +735,7 @@ class Set { * @return integer The number of dimensions in $array * @link http://book.cakephp.org/2.0/en/core-utility-libraries/set.html#Set::countDim */ - public static function countDim($array = null, $all = false, $count = 0) { + public static function countDim($array, $all = false, $count = 0) { if ($all) { $depth = array($count); if (is_array($array) && reset($array) !== false) {