@@ -573,13 +573,17 @@ |
||
| 573 | 573 | /** |
| 574 | 574 | * Include configured header comment in HTML content block |
| 575 | 575 | * |
| 576 | - * @param $html |
|
| 576 | + * @param string $html |
|
| 577 | 577 | */ |
| 578 | 578 | public function includeHeaderComment(&$html) |
| 579 | 579 | { |
| 580 | 580 | if (!empty($this->headerComment)) { |
| 581 | 581 | $html = preg_replace_callback( |
| 582 | 582 | '/<meta http-equiv(.*)>/Usi', |
| 583 | + |
|
| 584 | + /** |
|
| 585 | + * @param string $matches |
|
| 586 | + */ |
|
| 583 | 587 | function ($matches) { |
| 584 | 588 | return trim($matches[0] . $this->newline . $this->tab . $this->tab . '<!-- ' . $this->headerComment . '-->'); |
| 585 | 589 | }, |