@@ -2743,6 +2743,10 @@ discard block |
||
2743 | 2743 | } |
2744 | 2744 | |
2745 | 2745 | /*************************************************************/ |
2746 | + |
|
2747 | + /** |
|
2748 | + * @param string $mode |
|
2749 | + */ |
|
2746 | 2750 | function _exifTagTypes($mode) { |
2747 | 2751 | $tags = array(); |
2748 | 2752 | |
@@ -2893,6 +2897,10 @@ discard block |
||
2893 | 2897 | } |
2894 | 2898 | |
2895 | 2899 | /*************************************************************/ |
2900 | + |
|
2901 | + /** |
|
2902 | + * @param string $mode |
|
2903 | + */ |
|
2896 | 2904 | function _exifNameTags($mode) { |
2897 | 2905 | $tags = $this->_exifTagNames($mode); |
2898 | 2906 | return $this->_names2Tags($tags); |
@@ -2965,6 +2973,10 @@ discard block |
||
2965 | 2973 | } |
2966 | 2974 | |
2967 | 2975 | /*************************************************************/ |
2976 | + |
|
2977 | + /** |
|
2978 | + * @param integer $pos |
|
2979 | + */ |
|
2968 | 2980 | function _getShort(&$data, $pos, $bigEndian = true) { |
2969 | 2981 | if ($bigEndian) { |
2970 | 2982 | return (ord($data{$pos}) << 8) |
@@ -292,7 +292,7 @@ discard block |
||
292 | 292 | * Add the To: recipients |
293 | 293 | * |
294 | 294 | * @see cleanAddress |
295 | - * @param string|string[] $address Multiple adresses separated by commas or as array |
|
295 | + * @param string $address Multiple adresses separated by commas or as array |
|
296 | 296 | */ |
297 | 297 | public function to($address) { |
298 | 298 | $this->setHeader('To', $address, false); |
@@ -312,7 +312,7 @@ discard block |
||
312 | 312 | * Add the Bcc: recipients |
313 | 313 | * |
314 | 314 | * @see cleanAddress |
315 | - * @param string|string[] $address Multiple adresses separated by commas or as array |
|
315 | + * @param string $address Multiple adresses separated by commas or as array |
|
316 | 316 | */ |
317 | 317 | public function bcc($address) { |
318 | 318 | $this->setHeader('Bcc', $address, false); |
@@ -623,7 +623,7 @@ discard block |
||
623 | 623 | * @param string $file path to file |
624 | 624 | * @param string $mime mime type |
625 | 625 | * @param bool|int $old_rev revision timestamp or false |
626 | - * @return bool |
|
626 | + * @return false|null |
|
627 | 627 | */ |
628 | 628 | function media_notify($id,$file,$mime,$old_rev=false){ |
629 | 629 | global $conf; |
@@ -962,7 +962,7 @@ discard block |
||
962 | 962 | * @param string $image media id |
963 | 963 | * @param int $auth permission level |
964 | 964 | * @param int|string $rev revision timestamp or empty string |
965 | - * @param JpegMeta|bool $meta |
|
965 | + * @param JpegMeta $meta |
|
966 | 966 | * |
967 | 967 | * @author Kate Arzamastseva <[email protected]> |
968 | 968 | */ |
@@ -1128,7 +1128,7 @@ discard block |
||
1128 | 1128 | * @param string $image image id |
1129 | 1129 | * @param int $auth permission level |
1130 | 1130 | * @param string|int $rev revision timestamp, or empty string |
1131 | - * @param bool|JpegMeta $meta image object, or create one if false |
|
1131 | + * @param JpegMeta $meta image object, or create one if false |
|
1132 | 1132 | */ |
1133 | 1133 | function media_details($image, $auth, $rev='', $meta=false) { |
1134 | 1134 | global $lang; |
@@ -1719,7 +1719,7 @@ discard block |
||
1719 | 1719 | * @param string $amp separator |
1720 | 1720 | * @param bool $abs absolute url? |
1721 | 1721 | * @param bool $params_array return the parmeters array? |
1722 | - * @return string|array - link or link parameters |
|
1722 | + * @return string[] - link or link parameters |
|
1723 | 1723 | */ |
1724 | 1724 | function media_managerURL($params=false, $amp='&', $abs=false, $params_array=false) { |
1725 | 1725 | global $ID; |
@@ -492,7 +492,7 @@ |
||
492 | 492 | * @param string $ns namespace which is context of id |
493 | 493 | * @param string &$page (reference) relative media id, updated to resolved id |
494 | 494 | * @param bool &$exists (reference) updated with existance of media |
495 | - * @param int|string $rev |
|
495 | + * @param string $rev |
|
496 | 496 | * @param bool $date_at |
497 | 497 | */ |
498 | 498 | function resolve_mediaid($ns,&$page,&$exists,$rev='',$date_at=false){ |
@@ -716,8 +716,20 @@ |
||
716 | 716 | |
717 | 717 | //------------------------------------------------------------------------ |
718 | 718 | interface Doku_Handler_CallWriter_Interface { |
719 | + |
|
720 | + /** |
|
721 | + * @return void |
|
722 | + */ |
|
719 | 723 | public function writeCall($call); |
724 | + |
|
725 | + /** |
|
726 | + * @return void |
|
727 | + */ |
|
720 | 728 | public function writeCalls($calls); |
729 | + |
|
730 | + /** |
|
731 | + * @return void |
|
732 | + */ |
|
721 | 733 | public function finalise(); |
722 | 734 | } |
723 | 735 |
@@ -423,7 +423,7 @@ |
||
423 | 423 | * keep track of internal links in $this->meta['relation']['references'] |
424 | 424 | * |
425 | 425 | * @param string $id page ID to link to. eg. 'wiki:syntax' |
426 | - * @param string|array|null $name name for the link, array for media file |
|
426 | + * @param string $name name for the link, array for media file |
|
427 | 427 | */ |
428 | 428 | function internallink($id, $name = null) { |
429 | 429 | global $ID; |
@@ -454,7 +454,7 @@ |
||
454 | 454 | * |
455 | 455 | * @param string $id page id |
456 | 456 | * @param array $orig the original metadata |
457 | - * @return array|null array('current'=> array,'persistent'=> array); |
|
457 | + * @return string array('current'=> array,'persistent'=> array); |
|
458 | 458 | */ |
459 | 459 | function p_render_metadata($id, $orig){ |
460 | 460 | // make sure the correct ID is in global ID |
@@ -113,6 +113,7 @@ |
||
113 | 113 | * @param string|null &$salt The salt, pass null if you want one generated |
114 | 114 | * @param int $len The length of the salt |
115 | 115 | * @param bool $cut Apply length restriction to existing salt? |
116 | + * @param string|null $salt |
|
116 | 117 | */ |
117 | 118 | public function init_salt(&$salt, $len = 32, $cut = true) { |
118 | 119 | if(is_null($salt)) { |
@@ -306,7 +306,7 @@ |
||
306 | 306 | /** |
307 | 307 | * Transform file to xml |
308 | 308 | * |
309 | - * @param mixed $data |
|
309 | + * @param string|boolean $data |
|
310 | 310 | * @return mixed |
311 | 311 | */ |
312 | 312 | public function toFile($data) { |