Skip to content

Commit 6ee99f5

Browse files
committed
Update HTMLHelper.php
1 parent 3b773fe commit 6ee99f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

berry/utils/HTMLHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function URLFriendly(string $string): string
5454
* @param string $encoding (optional) The character encoding to use. Defaults to 'UTF-8'.
5555
* @return string The HTML-escaped version of the input string.
5656
*/
57-
public function MakeHTMLSafe($str, $encoding = 'UTF-8')
57+
public function MakeHTMLSafe($str, $encoding = 'UTF-8'): string
5858
{
5959
return htmlspecialchars($str, ENT_QUOTES, $encoding);
6060
}

0 commit comments

Comments
 (0)