@@ -8,7 +8,7 @@ |
||
8 | 8 | * |
9 | 9 | * @param integer $start |
10 | 10 | * |
11 | - * @return mixed |
|
11 | + * @return double |
|
12 | 12 | */ |
13 | 13 | function delta_time($start=0) { |
14 | 14 | return microtime(true)-((float)$start); |
@@ -2546,7 +2546,7 @@ discard block |
||
2546 | 2546 | * @param string $header |
2547 | 2547 | * @param mixed $value |
2548 | 2548 | * |
2549 | - * @return int|mixed |
|
2549 | + * @return integer |
|
2550 | 2550 | */ |
2551 | 2551 | function _write8BIM(&$data, $pos, $type, $header, &$value) { |
2552 | 2552 | $signature = "8BIM"; |
@@ -2616,7 +2616,7 @@ discard block |
||
2616 | 2616 | * @param string $type |
2617 | 2617 | * @param mixed $value |
2618 | 2618 | * |
2619 | - * @return int|mixed |
|
2619 | + * @return integer |
|
2620 | 2620 | */ |
2621 | 2621 | function _writeIPTCEntry(&$data, $pos, $type, &$value) { |
2622 | 2622 | $pos = $this->_putShort($data, $pos, 0x1C02); |
@@ -2778,6 +2778,10 @@ discard block |
||
2778 | 2778 | } |
2779 | 2779 | |
2780 | 2780 | /*************************************************************/ |
2781 | + |
|
2782 | + /** |
|
2783 | + * @param string $mode |
|
2784 | + */ |
|
2781 | 2785 | function _exifTagTypes($mode) { |
2782 | 2786 | $tags = array(); |
2783 | 2787 | |
@@ -2928,6 +2932,10 @@ discard block |
||
2928 | 2932 | } |
2929 | 2933 | |
2930 | 2934 | /*************************************************************/ |
2935 | + |
|
2936 | + /** |
|
2937 | + * @param string $mode |
|
2938 | + */ |
|
2931 | 2939 | function _exifNameTags($mode) { |
2932 | 2940 | $tags = $this->_exifTagNames($mode); |
2933 | 2941 | return $this->_names2Tags($tags); |
@@ -3008,6 +3016,10 @@ discard block |
||
3008 | 3016 | } |
3009 | 3017 | |
3010 | 3018 | /*************************************************************/ |
3019 | + |
|
3020 | + /** |
|
3021 | + * @param integer $pos |
|
3022 | + */ |
|
3011 | 3023 | function _getShort(&$data, $pos, $bigEndian = true) { |
3012 | 3024 | if ($bigEndian) { |
3013 | 3025 | return (ord($data{$pos}) << 8) |
@@ -638,7 +638,7 @@ discard block |
||
638 | 638 | * @param string $file path to file |
639 | 639 | * @param string $mime mime type |
640 | 640 | * @param bool|int $old_rev revision timestamp or false |
641 | - * @return bool |
|
641 | + * @return false|null |
|
642 | 642 | */ |
643 | 643 | function media_notify($id,$file,$mime,$old_rev=false){ |
644 | 644 | global $conf; |
@@ -908,7 +908,7 @@ discard block |
||
908 | 908 | * @param string $image media id |
909 | 909 | * @param string $ns |
910 | 910 | * @param null|int $auth permission level |
911 | - * @param string|int $rev revision timestamp or empty string |
|
911 | + * @param boolean $rev revision timestamp or empty string |
|
912 | 912 | */ |
913 | 913 | function media_tab_view($image, $ns, $auth=null, $rev='') { |
914 | 914 | global $lang; |
@@ -977,7 +977,7 @@ discard block |
||
977 | 977 | * @param string $image media id |
978 | 978 | * @param int $auth permission level |
979 | 979 | * @param int|string $rev revision timestamp or empty string |
980 | - * @param JpegMeta|bool $meta |
|
980 | + * @param JpegMeta $meta |
|
981 | 981 | * |
982 | 982 | * @author Kate Arzamastseva <[email protected]> |
983 | 983 | */ |
@@ -1143,7 +1143,7 @@ discard block |
||
1143 | 1143 | * @param string $image image id |
1144 | 1144 | * @param int $auth permission level |
1145 | 1145 | * @param string|int $rev revision timestamp, or empty string |
1146 | - * @param bool|JpegMeta $meta image object, or create one if false |
|
1146 | + * @param JpegMeta $meta image object, or create one if false |
|
1147 | 1147 | */ |
1148 | 1148 | function media_details($image, $auth, $rev='', $meta=false) { |
1149 | 1149 | global $lang; |
@@ -1746,7 +1746,7 @@ discard block |
||
1746 | 1746 | * @param string $amp separator |
1747 | 1747 | * @param bool $abs absolute url? |
1748 | 1748 | * @param bool $params_array return the parmeters array? |
1749 | - * @return string|array - link or link parameters |
|
1749 | + * @return string[] - link or link parameters |
|
1750 | 1750 | */ |
1751 | 1751 | function media_managerURL($params=false, $amp='&', $abs=false, $params_array=false) { |
1752 | 1752 | global $ID; |
@@ -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); |
@@ -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>'; |
@@ -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 |
@@ -44,7 +44,7 @@ |
||
44 | 44 | * @param int $state The lexer state for the match |
45 | 45 | * @param int $pos The character position of the matched text |
46 | 46 | * @param Doku_Handler $handler The Doku_Handler object |
47 | - * @return array Return an array with all data you want to use in render |
|
47 | + * @return string[] Return an array with all data you want to use in render |
|
48 | 48 | */ |
49 | 49 | public function handle($match, $state, $pos, Doku_Handler $handler){ |
50 | 50 | $match = substr($match,7,-2); //strip ~~INFO: from start and ~~ from end |