@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | * |
175 | 175 | * @param admin_plugin_config $plugin object of config plugin |
176 | 176 | * @param bool $echo true: show inputted value, when error occurred, otherwise the stored setting |
177 | - * @return array with content array(string $label_html, string $input_html) |
|
177 | + * @return string[] with content array(string $label_html, string $input_html) |
|
178 | 178 | */ |
179 | 179 | function html(admin_plugin_config $plugin, $echo=false) { |
180 | 180 | global $lang; |
@@ -282,7 +282,7 @@ discard block |
||
282 | 282 | * |
283 | 283 | * @param admin_plugin_config $plugin object of config plugin |
284 | 284 | * @param bool $echo true: show inputted value, when error occurred, otherwise the stored setting |
285 | - * @return array with content array(string $label_html, string $input_html) |
|
285 | + * @return string[] with content array(string $label_html, string $input_html) |
|
286 | 286 | */ |
287 | 287 | function html(admin_plugin_config $plugin, $echo=false) { |
288 | 288 |
@@ -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>'; |
@@ -824,7 +824,7 @@ |
||
824 | 824 | * @param string $url url to download |
825 | 825 | * @param string $file path to file or directory where to save |
826 | 826 | * @param string $defaultName fallback for name of download |
827 | - * @return bool|string if failed false, otherwise true or the name of the file in the given dir |
|
827 | + * @return false|string if failed false, otherwise true or the name of the file in the given dir |
|
828 | 828 | */ |
829 | 829 | protected function downloadToFile($url,$file,$defaultName=''){ |
830 | 830 | global $conf; |