Skip to content

Commit

Permalink
fixed basic.php
Browse files Browse the repository at this point in the history
The return value is incorrect
  • Loading branch information
lustyrain committed Sep 15, 2017
1 parent 73e3c3f commit 715dca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/basics.php
Expand Up @@ -196,7 +196,7 @@ function sortByKey(&$array, $sortBy, $order = 'asc', $type = SORT_NUMERIC) {
* 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) {
Expand Down

0 comments on commit 715dca8

Please sign in to comment.