diff --git a/lib/Cake/Utility/Hash.php b/lib/Cake/Utility/Hash.php index fc87bc46d..b2396f5d5 100644 --- a/lib/Cake/Utility/Hash.php +++ b/lib/Cake/Utility/Hash.php @@ -561,7 +561,7 @@ class Hash { * @return array Filtered array * @link https://book.cakephp.org/2.0/en/core-utility-libraries/hash.html#Hash::filter */ - public static function filter(array $data, $callback = array(Hash::class, '_filter')) { + public static function filter(array $data, $callback = array('Hash', '_filter')) { foreach ($data as $k => $v) { if (is_array($v)) { $data[$k] = static::filter($v, $callback);