This commit is contained in:
2021-06-09 15:41:13 +08:00
parent 15da06a63d
commit 7e7652795d
+2 -2
View File
@@ -376,7 +376,7 @@ if (!function_exists('logger')) {
}
if (!function_exists('trimAll')) {
if (!function_exists('trim_blank')) {
/**
@@ -387,7 +387,7 @@ if (!function_exists('trimAll')) {
* @param bool $htmlTags
* @return array|string|null
*/
function trimAll(string $content, $len = 0, $encode = 'utf-8', $htmlTags = true): array|string|null
function trim_blank(string $content, $len = 0, $encode = 'utf-8', $htmlTags = true): array|string|null
{
$str = trim($content);
if ($htmlTags) {