@@ -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); |
@@ -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); |
@@ -77,6 +78,7 @@ discard block |
||
77 | 78 | |
78 | 79 | /** |
79 | 80 | * @see DokuWiki_PluginInterface::getLang() |
81 | + * @return string|null |
|
80 | 82 | */ |
81 | 83 | public function getLang($id) { |
82 | 84 | if(!$this->localised) $this->setupLocale(); |
@@ -86,6 +88,7 @@ discard block |
||
86 | 88 | |
87 | 89 | /** |
88 | 90 | * @see DokuWiki_PluginInterface::locale_xhtml() |
91 | + * @param string $id |
|
89 | 92 | */ |
90 | 93 | public function locale_xhtml($id) { |
91 | 94 | return p_cached_output($this->localFN($id)); |