[TASK] Add more fixers for php-cs-fixer
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Html / HtmlParser.php
index 2a7f77b..43cf87d 100644 (file)
@@ -992,7 +992,7 @@ class HtmlParser
     public function stripEmptyTags($content, $tagList = '', $treatNonBreakingSpaceAsEmpty = false, $keepTags = false)
     {
         if (!empty($tagList)) {
-            $tagRegEx = join('|', GeneralUtility::trimExplode(',', $tagList, true));
+            $tagRegEx = implode('|', GeneralUtility::trimExplode(',', $tagList, true));
             if ($keepTags) {
                 $tagRegEx = '(?!' . $tagRegEx . ')[^ >]+';
             }