@@ -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; |
@@ -1419,7 +1419,7 @@ discard block |
||
1419 | 1419 | * @param string $summary What changed |
1420 | 1420 | * @param boolean $minor Is this a minor edit? |
1421 | 1421 | * @param string[] $replace Additional string substitutions, @KEY@ to be replaced by value |
1422 | - * @return bool |
|
1422 | + * @return null|boolean |
|
1423 | 1423 | * |
1424 | 1424 | * @author Andreas Gohr <[email protected]> |
1425 | 1425 | */ |
@@ -2047,6 +2047,7 @@ discard block |
||
2047 | 2047 | * Strips source mapping declarations from given text #601 |
2048 | 2048 | * |
2049 | 2049 | * @param string &$text reference to the CSS or JavaScript code to clean |
2050 | + * @param string $text |
|
2050 | 2051 | */ |
2051 | 2052 | function stripsourcemaps(&$text){ |
2052 | 2053 | $text = preg_replace('/^(\/\/|\/\*)[@#]\s+sourceMappingURL=.*?(\*\/)?$/im', '\\1\\2', $text); |