Skip to content

Commit

Permalink
Rename global function because no mining of "h()" (samdark#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
hirenbhut93 authored and samdark committed Oct 2, 2017
1 parent bfe269f commit 5051974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/structure-global-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function url($url = '', $scheme = false)
return Url::to($url, $scheme);
}

function h($text)
function he($text)
{
return Html::encode($text);
}
Expand Down

0 comments on commit 5051974

Please sign in to comment.