@@ -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 |
@@ -644,7 +644,7 @@ discard block |
||
644 | 644 | * @param string $mime mime type |
645 | 645 | * @param bool|int $old_rev revision timestamp or false |
646 | 646 | * @param bool|int $current_rev current revision timestamp or false |
647 | - * @return bool |
|
647 | + * @return false|null |
|
648 | 648 | */ |
649 | 649 | function media_notify($id,$file,$mime,$old_rev=false,$current_rev=false){ |
650 | 650 | global $conf; |
@@ -914,7 +914,7 @@ discard block |
||
914 | 914 | * @param string $image media id |
915 | 915 | * @param string $ns |
916 | 916 | * @param null|int $auth permission level |
917 | - * @param string|int $rev revision timestamp or empty string |
|
917 | + * @param boolean $rev revision timestamp or empty string |
|
918 | 918 | */ |
919 | 919 | function media_tab_view($image, $ns, $auth=null, $rev='') { |
920 | 920 | global $lang; |
@@ -983,7 +983,7 @@ discard block |
||
983 | 983 | * @param string $image media id |
984 | 984 | * @param int $auth permission level |
985 | 985 | * @param int|string $rev revision timestamp or empty string |
986 | - * @param JpegMeta|bool $meta |
|
986 | + * @param JpegMeta $meta |
|
987 | 987 | * |
988 | 988 | * @author Kate Arzamastseva <[email protected]> |
989 | 989 | */ |
@@ -1149,7 +1149,7 @@ discard block |
||
1149 | 1149 | * @param string $image image id |
1150 | 1150 | * @param int $auth permission level |
1151 | 1151 | * @param string|int $rev revision timestamp, or empty string |
1152 | - * @param bool|JpegMeta $meta image object, or create one if false |
|
1152 | + * @param JpegMeta $meta image object, or create one if false |
|
1153 | 1153 | */ |
1154 | 1154 | function media_details($image, $auth, $rev='', $meta=false) { |
1155 | 1155 | global $lang; |
@@ -1759,7 +1759,7 @@ discard block |
||
1759 | 1759 | * @param string $amp separator |
1760 | 1760 | * @param bool $abs absolute url? |
1761 | 1761 | * @param bool $params_array return the parmeters array? |
1762 | - * @return string|array - link or link parameters |
|
1762 | + * @return string[] - link or link parameters |
|
1763 | 1763 | */ |
1764 | 1764 | function media_managerURL($params=false, $amp='&', $abs=false, $params_array=false) { |
1765 | 1765 | global $ID; |