From 715dca87014a42721a640e821e60b2c19fd90fcd Mon Sep 17 00:00:00 2001 From: LustyRain Date: Fri, 15 Sep 2017 11:42:54 +0900 Subject: [PATCH] fixed basic.php The return value is incorrect --- lib/Cake/basics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/basics.php b/lib/Cake/basics.php index 75010f023..61ca6f047 100644 --- a/lib/Cake/basics.php +++ b/lib/Cake/basics.php @@ -196,7 +196,7 @@ if (!function_exists('h')) { * implement a `__toString` method. Otherwise the class name will be used. * @param bool $double Encode existing html entities * @param string $charset Character set to use when escaping. Defaults to config value in 'App.encoding' or 'UTF-8' - * @return string Wrapped text + * @return string|array|object Wrapped text, Wrapped Array or Wrapped Object * @link https://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#h */ function h($text, $double = true, $charset = null) {