Replaced some html_entity_decode to engine's built-in function (#1733)

* Replaced some html_entity_decode to engine's built-in function

* Updated
This commit is contained in:
Roman Kelesidis 2025-01-05 00:19:14 +07:00 committed by GitHub
commit 616a19351f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View file

@ -361,10 +361,10 @@ function commify(?float $num, int $decimals = 0, ?string $decimal_separator = '.
*
* @param string $string
* @param int $flags
* @param string|null $encoding
* @param string $encoding
* @return string
*/
function html_ent_decode(string $string, int $flags = ENT_QUOTES, ?string $encoding = 'UTF-8'): string
function html_ent_decode(string $string, int $flags = ENT_QUOTES, string $encoding = 'UTF-8'): string
{
return html_entity_decode($string, $flags, $encoding);
}