From: Hypolite Petovan Date: Sun, 19 Jan 2020 15:25:18 +0000 (-0500) Subject: Update deprecated passing glue string after array in implode in Content\Text\HTML X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c632d4e7a2267c0dab9ce47ced4b8a4adee784dc;p=friendica.git Update deprecated passing glue string after array in implode in Content\Text\HTML --- diff --git a/src/Content/Text/HTML.php b/src/Content/Text/HTML.php index 65d971489a..a14403d5ff 100644 --- a/src/Content/Text/HTML.php +++ b/src/Content/Text/HTML.php @@ -510,7 +510,7 @@ class HTML $newlines[] = $line; - return implode($newlines, "\n"); + return implode("\n", $newlines); } private static function quoteLevel($message, $wraplength = 75) @@ -546,7 +546,7 @@ class HTML } } - return implode($newlines, "\n"); + return implode("\n", $newlines); } private static function collectURLs($message)