mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Without any params this method does not make sense
This commit is contained in:
parent
8d47ef43e5
commit
fdc42a24ca
1 changed files with 1 additions and 1 deletions
|
@ -735,7 +735,7 @@ class Set {
|
||||||
* @return integer The number of dimensions in $array
|
* @return integer The number of dimensions in $array
|
||||||
* @link http://book.cakephp.org/2.0/en/core-utility-libraries/set.html#Set::countDim
|
* @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) {
|
if ($all) {
|
||||||
$depth = array($count);
|
$depth = array($count);
|
||||||
if (is_array($array) && reset($array) !== false) {
|
if (is_array($array) && reset($array) !== false) {
|
||||||
|
|
Loading…
Reference in a new issue