mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
fixed basic.php
The return value is incorrect
This commit is contained in:
parent
73e3c3f90d
commit
715dca8701
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue