@@ -169,7 +169,7 @@ |
||
169 | 169 | } |
170 | 170 | |
171 | 171 | /** |
172 | - * @param $tmpDestination |
|
172 | + * @param string $tmpDestination |
|
173 | 173 | * @param $fileName |
174 | 174 | * |
175 | 175 | * @return bool |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | } |
121 | 121 | |
122 | 122 | /** |
123 | - * @param $iWidth |
|
123 | + * @param integer $iWidth |
|
124 | 124 | */ |
125 | 125 | public function SetWidth($iWidth) |
126 | 126 | { |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | } |
133 | 133 | |
134 | 134 | /** |
135 | - * @param $iHeight |
|
135 | + * @param integer $iHeight |
|
136 | 136 | */ |
137 | 137 | public function SetHeight($iHeight) |
138 | 138 | { |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | } |
144 | 144 | |
145 | 145 | /** |
146 | - * @param $iNumChars |
|
146 | + * @param integer $iNumChars |
|
147 | 147 | */ |
148 | 148 | public function SetNumChars($iNumChars) |
149 | 149 | { |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | } |
153 | 153 | |
154 | 154 | /** |
155 | - * @param $iNumLines |
|
155 | + * @param integer $iNumLines |
|
156 | 156 | */ |
157 | 157 | public function SetNumLines($iNumLines) |
158 | 158 | { |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | } |
161 | 161 | |
162 | 162 | /** |
163 | - * @param $bCharShadow |
|
163 | + * @param boolean $bCharShadow |
|
164 | 164 | */ |
165 | 165 | public function DisplayShadow($bCharShadow) |
166 | 166 | { |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
171 | - * @param $sOwnerText |
|
171 | + * @param string $sOwnerText |
|
172 | 172 | */ |
173 | 173 | public function SetOwnerText($sOwnerText) |
174 | 174 | { |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | } |
177 | 177 | |
178 | 178 | /** |
179 | - * @param $vCharSet |
|
179 | + * @param string $vCharSet |
|
180 | 180 | */ |
181 | 181 | public function SetCharSet($vCharSet) |
182 | 182 | { |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | } |
216 | 216 | |
217 | 217 | /** |
218 | - * @param $bCaseInsensitive |
|
218 | + * @param boolean $bCaseInsensitive |
|
219 | 219 | */ |
220 | 220 | public function CaseInsensitive($bCaseInsensitive) |
221 | 221 | { |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | } |
224 | 224 | |
225 | 225 | /** |
226 | - * @param $vBackgroundImages |
|
226 | + * @param string $vBackgroundImages |
|
227 | 227 | */ |
228 | 228 | public function SetBackgroundImages($vBackgroundImages) |
229 | 229 | { |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | } |
232 | 232 | |
233 | 233 | /** |
234 | - * @param $iMinFontSize |
|
234 | + * @param integer $iMinFontSize |
|
235 | 235 | */ |
236 | 236 | public function SetMinFontSize($iMinFontSize) |
237 | 237 | { |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | } |
240 | 240 | |
241 | 241 | /** |
242 | - * @param $iMaxFontSize |
|
242 | + * @param integer $iMaxFontSize |
|
243 | 243 | */ |
244 | 244 | public function SetMaxFontSize($iMaxFontSize) |
245 | 245 | { |
@@ -247,7 +247,7 @@ discard block |
||
247 | 247 | } |
248 | 248 | |
249 | 249 | /** |
250 | - * @param $bUseColour |
|
250 | + * @param boolean $bUseColour |
|
251 | 251 | */ |
252 | 252 | public function UseColour($bUseColour) |
253 | 253 | { |
@@ -255,7 +255,7 @@ discard block |
||
255 | 255 | } |
256 | 256 | |
257 | 257 | /** |
258 | - * @param $sFileType |
|
258 | + * @param string $sFileType |
|
259 | 259 | */ |
260 | 260 | public function SetFileType($sFileType) |
261 | 261 | { |
@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | } |
382 | 382 | |
383 | 383 | /** |
384 | - * @param $sFilename |
|
384 | + * @param string $sFilename |
|
385 | 385 | */ |
386 | 386 | public function WriteFile($sFilename) |
387 | 387 | { |
@@ -514,7 +514,7 @@ discard block |
||
514 | 514 | } |
515 | 515 | |
516 | 516 | /** |
517 | - * @param $sFlitePath |
|
517 | + * @param string $sFlitePath |
|
518 | 518 | */ |
519 | 519 | public function SetFlitePath($sFlitePath) |
520 | 520 | { |
@@ -522,7 +522,7 @@ discard block |
||
522 | 522 | } |
523 | 523 | |
524 | 524 | /** |
525 | - * @param $sAudioPath |
|
525 | + * @param string $sAudioPath |
|
526 | 526 | */ |
527 | 527 | public function SetAudioPath($sAudioPath) |
528 | 528 | { |
@@ -2,7 +2,7 @@ |
||
2 | 2 | /** |
3 | 3 | * @param $items |
4 | 4 | * |
5 | - * @return bool |
|
5 | + * @return false|null |
|
6 | 6 | */ |
7 | 7 | function extgallery_tag_iteminfo(&$items) |
8 | 8 | { |
@@ -50,7 +50,7 @@ |
||
50 | 50 | /** |
51 | 51 | * @param $data |
52 | 52 | * |
53 | - * @return bool |
|
53 | + * @return false|null |
|
54 | 54 | */ |
55 | 55 | public function createCat($data) |
56 | 56 | { |
@@ -77,7 +77,7 @@ |
||
77 | 77 | /** |
78 | 78 | * @param $data |
79 | 79 | * |
80 | - * @return bool |
|
80 | + * @return false|null |
|
81 | 81 | */ |
82 | 82 | public function createEcard($data) |
83 | 83 | { |
@@ -267,7 +267,7 @@ |
||
267 | 267 | * |
268 | 268 | * @param array $orig_size |
269 | 269 | * @param array $dest_size |
270 | - * @param $dest_file_name |
|
270 | + * @param string $dest_file_name |
|
271 | 271 | * @return string |
272 | 272 | */ |
273 | 273 | private function resize_image($orig_size, $dest_size, $dest_file_name) |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * |
35 | 35 | * @param $slide_id |
36 | 36 | * @param $slider_id |
37 | - * @return array complete array of slides |
|
37 | + * @return string complete array of slides |
|
38 | 38 | */ |
39 | 39 | public function get_slide($slide_id, $slider_id) |
40 | 40 | { |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | } |
78 | 78 | |
79 | 79 | /** |
80 | - * @param $slider_id |
|
80 | + * @param integer $slider_id |
|
81 | 81 | * @param $slide_id |
82 | 82 | * @return |
83 | 83 | */ |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | } |
88 | 88 | |
89 | 89 | /** |
90 | - * @param $slider_id |
|
90 | + * @param integer $slider_id |
|
91 | 91 | * @param $slide_id |
92 | 92 | * @return bool |
93 | 93 | */ |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | * Build image HTML |
124 | 124 | * |
125 | 125 | * @param array $attributes |
126 | - * @param $content |
|
126 | + * @param string $content |
|
127 | 127 | * @return string image HTML |
128 | 128 | */ |
129 | 129 | public function build_anchor_tag($attributes, $content) |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | * If the meta exists, but the value is empty, delete it |
213 | 213 | * If the meta exists, update it |
214 | 214 | * @param $post_id |
215 | - * @param $name |
|
215 | + * @param string $name |
|
216 | 216 | * @param $value |
217 | 217 | */ |
218 | 218 | public function add_or_update_or_delete_meta($post_id, $name, $value) |
@@ -285,11 +285,11 @@ discard block |
||
285 | 285 | * |
286 | 286 | * If either is 0 it will keep the original size for that dimension |
287 | 287 | * |
288 | - * @param mixed $new_x (0, number, percentage 10% or 0.1) |
|
289 | - * @param mixed $new_y (0, number, percentage 10% or 0.1) |
|
288 | + * @param integer $new_x (0, number, percentage 10% or 0.1) |
|
289 | + * @param integer $new_y (0, number, percentage 10% or 0.1) |
|
290 | 290 | * @param array $options Options |
291 | 291 | * |
292 | - * @return mixed TRUE or PEAR_Error object on error |
|
292 | + * @return PEAR_Error TRUE or PEAR_Error object on error |
|
293 | 293 | * @access public |
294 | 294 | */ |
295 | 295 | public function resize($new_x = 0, $new_y = 0, $options = null) |
@@ -641,7 +641,7 @@ discard block |
||
641 | 641 | /** |
642 | 642 | * Returns the matching IMAGETYPE_* constant for a given image type |
643 | 643 | * |
644 | - * @param mixed $type String (GIF, JPG,...) |
|
644 | + * @param string $type String (GIF, JPG,...) |
|
645 | 645 | * |
646 | 646 | * @return mixed string or integer or input on error |
647 | 647 | * @access protected |
@@ -694,10 +694,10 @@ discard block |
||
694 | 694 | * |
695 | 695 | * If either parameter is 0 it will be scaled proportionally |
696 | 696 | * |
697 | - * @param mixed $new_size (0, number, percentage 10% or 0.1) |
|
697 | + * @param integer $new_size (0, number, percentage 10% or 0.1) |
|
698 | 698 | * @param int $old_size |
699 | 699 | * |
700 | - * @return mixed Integer or PEAR_error |
|
700 | + * @return integer Integer or PEAR_error |
|
701 | 701 | * @access protected |
702 | 702 | */ |
703 | 703 | public function _parse_size($new_size, $old_size) |
@@ -1017,7 +1017,7 @@ discard block |
||
1017 | 1017 | * @param string $type Image type (GIF, PNG, JPEG...) |
1018 | 1018 | * @param string $mode 'r' for read, 'w' for write, 'rw' for both |
1019 | 1019 | * |
1020 | - * @return TRUE if type (and mode) is supported FALSE otherwise |
|
1020 | + * @return boolean if type (and mode) is supported FALSE otherwise |
|
1021 | 1021 | * @access public |
1022 | 1022 | */ |
1023 | 1023 | public function supportsType($type, $mode = 'rw') |
@@ -1062,7 +1062,7 @@ discard block |
||
1062 | 1062 | * |
1063 | 1063 | * @param string $colorhex A color following the #FFFFFF format |
1064 | 1064 | * |
1065 | - * @return array 3-element array with 0-255 values |
|
1065 | + * @return resource 3-element array with 0-255 values |
|
1066 | 1066 | * @access public |
1067 | 1067 | * |
1068 | 1068 | * @see rgb2colorname |
@@ -1077,6 +1077,9 @@ discard block |
||
1077 | 1077 | return array($r, $g, $b, 'type' => 'RGB'); |
1078 | 1078 | } |
1079 | 1079 | |
1080 | + /** |
|
1081 | + * @param string $type |
|
1082 | + */ |
|
1080 | 1083 | public function _send_display_headers($type) |
1081 | 1084 | { |
1082 | 1085 | // Find the filename of the original image: |
@@ -1091,7 +1094,7 @@ discard block |
||
1091 | 1094 | * |
1092 | 1095 | * @param array $color 3-element array with 0-255 values |
1093 | 1096 | * |
1094 | - * @return mixed A color following the #FFFFFF format or FALSE |
|
1097 | + * @return false|string A color following the #FFFFFF format or FALSE |
|
1095 | 1098 | * if the array couldn't be converted |
1096 | 1099 | * @access public |
1097 | 1100 | * |
@@ -1265,7 +1268,7 @@ discard block |
||
1265 | 1268 | * |
1266 | 1269 | * @param string $colorOf one of 'canvasColor', 'pencilColor', 'fontColor' |
1267 | 1270 | * @param array $options configuration options |
1268 | - * @param array $default default value to return if color not found |
|
1271 | + * @param integer[] $default default value to return if color not found |
|
1269 | 1272 | * |
1270 | 1273 | * @return array an RGB color array |
1271 | 1274 | * @access protected |
@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | /** |
268 | 268 | * Horizontal mirroring |
269 | 269 | * |
270 | - * @return mixed TRUE or PEAR_Error object on error |
|
270 | + * @return boolean TRUE or PEAR_Error object on error |
|
271 | 271 | * @access public |
272 | 272 | * @see flip() |
273 | 273 | **/ |
@@ -286,7 +286,7 @@ discard block |
||
286 | 286 | /** |
287 | 287 | * Vertical mirroring |
288 | 288 | * |
289 | - * @return TRUE or PEAR Error object on error |
|
289 | + * @return boolean or PEAR Error object on error |
|
290 | 290 | * @access public |
291 | 291 | * @see mirror() |
292 | 292 | **/ |
@@ -437,7 +437,7 @@ discard block |
||
437 | 437 | * Helper method to save to a file or output the image |
438 | 438 | * |
439 | 439 | * @param string $filename the name of the file to write to (blank to output) |
440 | - * @param string $types define the output format, default |
|
440 | + * @param string $type define the output format, default |
|
441 | 441 | * is the current used format |
442 | 442 | * @param int $quality output DPI, default is 75 |
443 | 443 | * |