@@ -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)) { |
@@ -55,6 +55,9 @@ |
||
| 55 | 55 | return $this->_event; |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | + /** |
|
| 59 | + * @param string $event |
|
| 60 | + */ |
|
| 58 | 61 | public function setEvent($event) |
| 59 | 62 | { |
| 60 | 63 | $this->_event = $event; |
@@ -80,7 +80,6 @@ discard block |
||
| 80 | 80 | /** |
| 81 | 81 | * advise all registered AFTER handlers of this event |
| 82 | 82 | * |
| 83 | - * @param bool $enablePreventDefault |
|
| 84 | 83 | * @see advise_before() for details |
| 85 | 84 | */ |
| 86 | 85 | public function advise_after() |
@@ -190,7 +189,7 @@ discard block |
||
| 190 | 189 | * @param callable $action (optional, default=NULL) default action, a php callback function |
| 191 | 190 | * @param bool $canPreventDefault (optional, default=true) can hooks prevent the default action |
| 192 | 191 | * |
| 193 | - * @return mixed the event results value after all event processing is complete |
|
| 192 | + * @return boolean the event results value after all event processing is complete |
|
| 194 | 193 | * by default this is the return value of the default action however |
| 195 | 194 | * it can be set or modified by event handler hooks |
| 196 | 195 | */ |
@@ -104,7 +104,7 @@ |
||
| 104 | 104 | /** |
| 105 | 105 | * Decodes numeric HTML entities to their correct UTF-8 characters |
| 106 | 106 | * |
| 107 | - * @param $ent string A numeric entity |
|
| 107 | + * @param string $ent string A numeric entity |
|
| 108 | 108 | * @return string|false |
| 109 | 109 | */ |
| 110 | 110 | protected static function decodeNumericEntity($ent) |
@@ -2545,7 +2545,7 @@ discard block |
||
| 2545 | 2545 | * @param string $header |
| 2546 | 2546 | * @param mixed $value |
| 2547 | 2547 | * |
| 2548 | - * @return int|mixed |
|
| 2548 | + * @return integer |
|
| 2549 | 2549 | */ |
| 2550 | 2550 | function _write8BIM(&$data, $pos, $type, $header, &$value) { |
| 2551 | 2551 | $signature = "8BIM"; |
@@ -2613,7 +2613,7 @@ discard block |
||
| 2613 | 2613 | * @param string $type |
| 2614 | 2614 | * @param mixed $value |
| 2615 | 2615 | * |
| 2616 | - * @return int|mixed |
|
| 2616 | + * @return integer |
|
| 2617 | 2617 | */ |
| 2618 | 2618 | function _writeIPTCEntry(&$data, $pos, $type, &$value) { |
| 2619 | 2619 | $pos = $this->_putShort($data, $pos, 0x1C02); |
@@ -2775,6 +2775,10 @@ discard block |
||
| 2775 | 2775 | } |
| 2776 | 2776 | |
| 2777 | 2777 | /*************************************************************/ |
| 2778 | + |
|
| 2779 | + /** |
|
| 2780 | + * @param string $mode |
|
| 2781 | + */ |
|
| 2778 | 2782 | function _exifTagTypes($mode) { |
| 2779 | 2783 | $tags = array(); |
| 2780 | 2784 | |
@@ -2925,6 +2929,10 @@ discard block |
||
| 2925 | 2929 | } |
| 2926 | 2930 | |
| 2927 | 2931 | /*************************************************************/ |
| 2932 | + |
|
| 2933 | + /** |
|
| 2934 | + * @param string $mode |
|
| 2935 | + */ |
|
| 2928 | 2936 | function _exifNameTags($mode) { |
| 2929 | 2937 | $tags = $this->_exifTagNames($mode); |
| 2930 | 2938 | return $this->_names2Tags($tags); |
@@ -3005,6 +3013,10 @@ discard block |
||
| 3005 | 3013 | } |
| 3006 | 3014 | |
| 3007 | 3015 | /*************************************************************/ |
| 3016 | + |
|
| 3017 | + /** |
|
| 3018 | + * @param integer $pos |
|
| 3019 | + */ |
|
| 3008 | 3020 | function _getShort(&$data, $pos, $bigEndian = true) { |
| 3009 | 3021 | if ($bigEndian) { |
| 3010 | 3022 | return (ord($data[$pos]) << 8) |
@@ -387,7 +387,7 @@ discard block |
||
| 387 | 387 | var $capabilities; |
| 388 | 388 | |
| 389 | 389 | /** |
| 390 | - * @param array|bool $callbacks |
|
| 390 | + * @param boolean $callbacks |
|
| 391 | 391 | * @param bool $data |
| 392 | 392 | * @param bool $wait |
| 393 | 393 | */ |
@@ -1088,7 +1088,7 @@ discard block |
||
| 1088 | 1088 | |
| 1089 | 1089 | /** |
| 1090 | 1090 | * @param string $method |
| 1091 | - * @return mixed |
|
| 1091 | + * @return string |
|
| 1092 | 1092 | */ |
| 1093 | 1093 | function methodHelp($method) { |
| 1094 | 1094 | return $this->help[$method]; |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | * @param string $template Mail template ('uploadmail', ...) |
| 17 | 17 | * @param string $id Media file for which the notification is |
| 18 | 18 | * @param int|bool $rev Old revision if any |
| 19 | - * @param int|bool $current_rev New revision if any |
|
| 19 | + * @param boolean $current_rev New revision if any |
|
| 20 | 20 | */ |
| 21 | 21 | public function sendMediaDiff($subscriber_mail, $template, $id, $rev = false, $current_rev = false) |
| 22 | 22 | { |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | * call it in the constructor. |
| 48 | 48 | * |
| 49 | 49 | * @param string $property The name of the property. |
| 50 | - * @param null $class name of the class defining the property |
|
| 50 | + * @param string $class name of the class defining the property |
|
| 51 | 51 | * @see DebugHelper::dbgDeprecatedProperty |
| 52 | 52 | */ |
| 53 | 53 | protected function deprecatePublicProperty( |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | * Like property_exists but also check for non-visible private properties and returns which |
| 100 | 100 | * class in the inheritance chain declared the property. |
| 101 | 101 | * @param string $property |
| 102 | - * @return string|bool Best guess for the class in which the property is defined. |
|
| 102 | + * @return string|false Best guess for the class in which the property is defined. |
|
| 103 | 103 | */ |
| 104 | 104 | private function deprecationHelperGetPropertyOwner($property) |
| 105 | 105 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | * This is the preferred way of setting the element's value |
| 29 | 29 | * |
| 30 | 30 | * @param null|string $value |
| 31 | - * @return string|$this |
|
| 31 | + * @return string |
|
| 32 | 32 | */ |
| 33 | 33 | public function val($value = null) |
| 34 | 34 | { |