@@ -423,7 +423,7 @@ discard block |
||
| 423 | 423 | * keep track of internal links in $this->meta['relation']['references'] |
| 424 | 424 | * |
| 425 | 425 | * @param string $id page ID to link to. eg. 'wiki:syntax' |
| 426 | - * @param string|array|null $name name for the link, array for media file |
|
| 426 | + * @param string $name name for the link, array for media file |
|
| 427 | 427 | */ |
| 428 | 428 | function internallink($id, $name = null) { |
| 429 | 429 | global $ID; |
@@ -594,7 +594,7 @@ discard block |
||
| 594 | 594 | * |
| 595 | 595 | * @param string $name |
| 596 | 596 | * |
| 597 | - * @return mixed|string |
|
| 597 | + * @return string |
|
| 598 | 598 | */ |
| 599 | 599 | function _simpleTitle($name) { |
| 600 | 600 | global $conf; |
@@ -382,7 +382,7 @@ |
||
| 382 | 382 | * @param string $path |
| 383 | 383 | * @param bool $keeptxt |
| 384 | 384 | * |
| 385 | - * @return mixed|string |
|
| 385 | + * @return string |
|
| 386 | 386 | */ |
| 387 | 387 | function pathID($path,$keeptxt=false){ |
| 388 | 388 | $id = utf8_decodeFN($path); |
@@ -62,6 +62,7 @@ |
||
| 62 | 62 | * @param string $type The section type identifier |
| 63 | 63 | * @param string $title The section title |
| 64 | 64 | * @param int $start The byte position for the edit start |
| 65 | + * @param string $hid |
|
| 65 | 66 | * @return string A marker class for the starting HTML element |
| 66 | 67 | * |
| 67 | 68 | * @author Adrian Lang <[email protected]> |
@@ -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)); |