@@ -942,6 +942,9 @@ discard block |
||
942 | 942 | $this->_tag = ''; |
943 | 943 | } |
944 | 944 | |
945 | + /** |
|
946 | + * @param string $new_tag |
|
947 | + */ |
|
945 | 948 | function _flushGroup($new_tag) { |
946 | 949 | if ($this->_group !== '') { |
947 | 950 | if ($this->_tag == 'mark') |
@@ -1364,8 +1367,8 @@ discard block |
||
1364 | 1367 | /** |
1365 | 1368 | * @access private |
1366 | 1369 | * |
1367 | - * @param array $edits1 |
|
1368 | - * @param array $edits2 |
|
1370 | + * @param _DiffOp[] $edits1 |
|
1371 | + * @param _DiffOp[] $edits2 |
|
1369 | 1372 | * |
1370 | 1373 | * @return array |
1371 | 1374 | */ |
@@ -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) |
@@ -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); |
@@ -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>'; |
@@ -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 | { |
@@ -751,6 +751,8 @@ |
||
751 | 751 | * |
752 | 752 | * @author Frank Schubert <[email protected]> |
753 | 753 | * @author Andreas Gohr <[email protected]> |
754 | + * @param boolean $ispage |
|
755 | + * @param string $name |
|
754 | 756 | */ |
755 | 757 | protected function makeCheckboxes($setperm, $ispage, $name) |
756 | 758 | { |
@@ -1169,6 +1169,7 @@ |
||
1169 | 1169 | * |
1170 | 1170 | * @param array $user data of user |
1171 | 1171 | * @param string &$error reference catched error message |
1172 | + * @param string $error |
|
1172 | 1173 | * @return bool whether successful |
1173 | 1174 | */ |
1174 | 1175 | protected function importUser($user, &$error) |