@@ -194,7 +194,7 @@ discard block |
||
| 194 | 194 | * |
| 195 | 195 | * @author Andreas Gohr <[email protected]> |
| 196 | 196 | * |
| 197 | - * @return array with info about current document |
|
| 197 | + * @return string with info about current document |
|
| 198 | 198 | */ |
| 199 | 199 | function pageinfo() { |
| 200 | 200 | global $ID; |
@@ -2045,6 +2045,7 @@ discard block |
||
| 2045 | 2045 | * Strips source mapping declarations from given text #601 |
| 2046 | 2046 | * |
| 2047 | 2047 | * @param string &$text reference to the CSS or JavaScript code to clean |
| 2048 | + * @param string $text |
|
| 2048 | 2049 | */ |
| 2049 | 2050 | function stripsourcemaps(&$text){ |
| 2050 | 2051 | $text = preg_replace('/^(\/\/|\/\*)[@#]\s+sourceMappingURL=.*?(\*\/)?$/im', '\\1\\2', $text); |