mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
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:
parent
fd7dc7ac95
commit
616a19351f
3 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue