fixed basic.php

The return value is incorrect
This commit is contained in:
LustyRain 2017-09-15 11:42:54 +09:00
parent 73e3c3f90d
commit 715dca8701

View file

@ -196,7 +196,7 @@ if (!function_exists('h')) {
* implement a `__toString` method. Otherwise the class name will be used. * implement a `__toString` method. Otherwise the class name will be used.
* @param bool $double Encode existing html entities * @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' * @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 * @link https://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#h
*/ */
function h($text, $double = true, $charset = null) { function h($text, $double = true, $charset = null) {