We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b773fe commit 6ee99f5Copy full SHA for 6ee99f5
berry/utils/HTMLHelper.php
@@ -54,7 +54,7 @@ public function URLFriendly(string $string): string
54
* @param string $encoding (optional) The character encoding to use. Defaults to 'UTF-8'.
55
* @return string The HTML-escaped version of the input string.
56
*/
57
- public function MakeHTMLSafe($str, $encoding = 'UTF-8')
+ public function MakeHTMLSafe($str, $encoding = 'UTF-8'): string
58
{
59
return htmlspecialchars($str, ENT_QUOTES, $encoding);
60
}
0 commit comments