@@ -721,6 +721,8 @@ |
||
721 | 721 | * |
722 | 722 | * @author Frank Schubert <[email protected]> |
723 | 723 | * @author Andreas Gohr <[email protected]> |
724 | + * @param boolean $ispage |
|
725 | + * @param string $name |
|
724 | 726 | */ |
725 | 727 | protected function _html_checkboxes($setperm,$ispage,$name){ |
726 | 728 | global $lang; |
@@ -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 | public 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 | public function html(admin_plugin_config $plugin, $echo=false) { |
288 | 288 |
@@ -408,7 +408,7 @@ discard block |
||
408 | 408 | * keep track of internal links in $this->meta['relation']['references'] |
409 | 409 | * |
410 | 410 | * @param string $id page ID to link to. eg. 'wiki:syntax' |
411 | - * @param string|array|null $name name for the link, array for media file |
|
411 | + * @param string $name name for the link, array for media file |
|
412 | 412 | */ |
413 | 413 | public function internallink($id, $name = null) { |
414 | 414 | global $ID; |
@@ -579,7 +579,7 @@ discard block |
||
579 | 579 | * |
580 | 580 | * @param string $name |
581 | 581 | * |
582 | - * @return mixed|string |
|
582 | + * @return string |
|
583 | 583 | */ |
584 | 584 | public function _simpleTitle($name) { |
585 | 585 | global $conf; |
@@ -332,7 +332,7 @@ |
||
332 | 332 | /** |
333 | 333 | * Transform file to xml |
334 | 334 | * |
335 | - * @param mixed $data |
|
335 | + * @param string|boolean $data |
|
336 | 336 | * @return mixed |
337 | 337 | */ |
338 | 338 | public function toFile($data) |
@@ -49,7 +49,7 @@ |
||
49 | 49 | * @param int $state The lexer state for the match |
50 | 50 | * @param int $pos The character position of the matched text |
51 | 51 | * @param Doku_Handler $handler The Doku_Handler object |
52 | - * @return array Return an array with all data you want to use in render |
|
52 | + * @return string[] Return an array with all data you want to use in render |
|
53 | 53 | */ |
54 | 54 | public function handle($match, $state, $pos, Doku_Handler $handler) |
55 | 55 | { |
@@ -83,7 +83,7 @@ |
||
83 | 83 | * @author Andreas Gohr <[email protected]> |
84 | 84 | * @param string $user |
85 | 85 | * @param bool $requireGroups (optional) ignored by this plugin, grps info always supplied |
86 | - * @return array|false |
|
86 | + * @return string |
|
87 | 87 | */ |
88 | 88 | public function getUserData($user, $requireGroups = true) |
89 | 89 | { |