Skip to content
Permalink
Browse files

Without any params this method does not make sense

  • Loading branch information...
dereuromark committed Apr 8, 2014
1 parent 8d47ef4 commit fdc42a24ca216acffa81ff754edb1c62a01c869b
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Utility/Set.php
@@ -735,7 +735,7 @@ public static function contains($val1, $val2 = null) {
* @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) {

0 comments on commit fdc42a2

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.