CoreLibs Array keyword remove and switch over to []
This commit is contained in:
@@ -30,7 +30,7 @@ class Html
|
||||
*/
|
||||
public static function removeLB(string $string, string $replace = ' '): string
|
||||
{
|
||||
return str_replace(array("\r", "\n"), $replace, $string);
|
||||
return str_replace(["\r", "\n"], $replace, $string);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user