@@ -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); |
@@ -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 |
@@ -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>'; |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | * @param string $name Name of the attribute |
117 | 117 | * @param string $value Value the attribute should have |
118 | 118 | * @param int $offset search from this position onward |
119 | - * @return false|int position of element if found, otherwise false |
|
119 | + * @return integer position of element if found, otherwise false |
|
120 | 120 | */ |
121 | 121 | public function findPositionByAttribute($name, $value, $offset = 0) { |
122 | 122 | $len = $this->elementCount(); |
@@ -286,7 +286,7 @@ discard block |
||
286 | 286 | * Adds a label referencing another input element, allows HTML for content |
287 | 287 | * |
288 | 288 | * @param string $content |
289 | - * @param string|Element $for |
|
289 | + * @param string $for |
|
290 | 290 | * @param int $pos |
291 | 291 | * @return Element |
292 | 292 | */ |
@@ -15,7 +15,6 @@ |
||
15 | 15 | /** |
16 | 16 | * Search constructor. |
17 | 17 | * |
18 | - * @param string $query the search query |
|
19 | 18 | */ |
20 | 19 | public function __construct() |
21 | 20 | { |