@@ -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 | }, |