@@ -555,12 +555,16 @@ |
||
555 | 555 | /** |
556 | 556 | * Include configured header comment in HTML content block |
557 | 557 | * |
558 | - * @param $html |
|
558 | + * @param string $html |
|
559 | 559 | */ |
560 | 560 | public function includeHeaderComment(&$html) { |
561 | 561 | if (!empty($this->headerComment)) { |
562 | 562 | $html = preg_replace_callback( |
563 | 563 | '/<meta http-equiv(.*)>/Usi', |
564 | + |
|
565 | + /** |
|
566 | + * @param string $matches |
|
567 | + */ |
|
564 | 568 | function ($matches) { |
565 | 569 | return trim($matches[0] . $this->newline . $this->tab . $this->tab . '<!-- ' . $this->headerComment . '-->'); |
566 | 570 | }, |
@@ -4,7 +4,6 @@ |
||
4 | 4 | /** |
5 | 5 | * Service: Clean parsed HTML functionality |
6 | 6 | * Based on the extension 'sourceopt' |
7 | - |
|
8 | 7 | */ |
9 | 8 | class CleanHtmlService implements \TYPO3\CMS\Core\SingletonInterface { |
10 | 9 |