@@ -39,6 +39,7 @@ discard block |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * @see DokuWiki_PluginInterface::loadHelper() |
42 | + * @param string $name |
|
42 | 43 | */ |
43 | 44 | public function loadHelper($name, $msg = true) { |
44 | 45 | $obj = plugin_load('helper', $name); |
@@ -86,6 +87,7 @@ discard block |
||
86 | 87 | |
87 | 88 | /** |
88 | 89 | * @see DokuWiki_PluginInterface::locale_xhtml() |
90 | + * @param string $id |
|
89 | 91 | */ |
90 | 92 | public function locale_xhtml($id) { |
91 | 93 | return p_cached_output($this->localFN($id)); |
@@ -424,7 +424,7 @@ |
||
424 | 424 | * @param string $id page id |
425 | 425 | * @param string|null $name the name of the link |
426 | 426 | * @param bool $return |
427 | - * @return true|string |
|
427 | + * @return string|boolean |
|
428 | 428 | */ |
429 | 429 | function tpl_pagelink($id, $name = null, $return = false) { |
430 | 430 | $out = '<bdi>'.html_wikilink($id, $name).'</bdi>'; |
@@ -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); |
@@ -96,7 +96,7 @@ |
||
96 | 96 | /** |
97 | 97 | * Get the user of this token |
98 | 98 | * |
99 | - * @return bool|string |
|
99 | + * @return string |
|
100 | 100 | */ |
101 | 101 | public function getUser() { |
102 | 102 | if($this->user === null && !$this->load()) return false; |