Without any params this method does not make sense

This commit is contained in:
euromark 2014-04-08 03:27:45 +02:00
parent 8d47ef43e5
commit fdc42a24ca

View file

@ -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) {