@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | * |
203 | 203 | * @param float $angle |
204 | 204 | * @param int angle rotation angle |
205 | - * @return mixed TRUE or a PEAR error object on error |
|
205 | + * @return boolean TRUE or a PEAR error object on error |
|
206 | 206 | */ |
207 | 207 | public function rotate($angle, $options = null) |
208 | 208 | { |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | * @param int x X-coordinate to crop at |
226 | 226 | * @param int y Y-coordinate to crop at |
227 | 227 | * |
228 | - * @return mixed TRUE or a PEAR error object on error |
|
228 | + * @return boolean TRUE or a PEAR error object on error |
|
229 | 229 | */ |
230 | 230 | public function crop($width, $height, $x = 0, $y = 0) |
231 | 231 | { |
@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | * before drawing the text |
257 | 257 | * ) |
258 | 258 | * |
259 | - * @return mixed TRUE or a PEAR error object on error |
|
259 | + * @return boolean TRUE or a PEAR error object on error |
|
260 | 260 | * @see PEAR::isError() |
261 | 261 | */ |
262 | 262 | public function addText($params) |
@@ -302,7 +302,7 @@ discard block |
||
302 | 302 | * |
303 | 303 | * @access public |
304 | 304 | * @param float $outputgamma |
305 | - * @return mixed TRUE or a PEAR error object on error |
|
305 | + * @return boolean TRUE or a PEAR error object on error |
|
306 | 306 | */ |
307 | 307 | public function gamma($outputgamma = 1.0) |
308 | 308 | { |
@@ -317,7 +317,7 @@ discard block |
||
317 | 317 | * Convert the image to greyscale |
318 | 318 | * |
319 | 319 | * @access public |
320 | - * @return mixed TRUE or a PEAR error object on error |
|
320 | + * @return boolean TRUE or a PEAR error object on error |
|
321 | 321 | */ |
322 | 322 | public function greyscale() |
323 | 323 | { |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | * Horizontal mirroring |
331 | 331 | * |
332 | 332 | * @access public |
333 | - * @return TRUE or PEAR Error object on error |
|
333 | + * @return boolean or PEAR Error object on error |
|
334 | 334 | */ |
335 | 335 | public function mirror() |
336 | 336 | { |
@@ -348,7 +348,7 @@ discard block |
||
348 | 348 | * Vertical mirroring |
349 | 349 | * |
350 | 350 | * @access public |
351 | - * @return TRUE or PEAR Error object on error |
|
351 | + * @return boolean or PEAR Error object on error |
|
352 | 352 | */ |
353 | 353 | public function flip() |
354 | 354 | { |
@@ -406,7 +406,7 @@ discard block |
||
406 | 406 | * @param string type (JPEG,PNG...); |
407 | 407 | * @param int quality 75 |
408 | 408 | * |
409 | - * @return mixed TRUE or a PEAR error object on error |
|
409 | + * @return boolean TRUE or a PEAR error object on error |
|
410 | 410 | */ |
411 | 411 | public function display($type = '', $quality = null) |
412 | 412 | { |
@@ -220,7 +220,7 @@ |
||
220 | 220 | /** |
221 | 221 | * Destroy image handle |
222 | 222 | * |
223 | - * @return none |
|
223 | + * @return boolean |
|
224 | 224 | */ |
225 | 225 | public function free() |
226 | 226 | { |
@@ -257,7 +257,7 @@ |
||
257 | 257 | * Adjusts the image gamma |
258 | 258 | * |
259 | 259 | * @param float $outputgamma |
260 | - * @return bool|PEAR_Error TRUE or a PEAR_Error object on error |
|
260 | + * @return boolean TRUE or a PEAR_Error object on error |
|
261 | 261 | * @access public |
262 | 262 | */ |
263 | 263 | public function gamma($outputgamma = 1.0) |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | * |
78 | 78 | * @param string filename |
79 | 79 | * |
80 | - * @return mixed TRUE or a PEAR error object on error |
|
80 | + * @return boolean TRUE or a PEAR error object on error |
|
81 | 81 | * @see PEAR::isError() |
82 | 82 | */ |
83 | 83 | public function load($image) |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | * 'angle' A imlib direction constant |
112 | 112 | * ) |
113 | 113 | * |
114 | - * @return TRUE or PEAR Error object on error |
|
114 | + * @return boolean or PEAR Error object on error |
|
115 | 115 | * @see PEAR::isError() |
116 | 116 | */ |
117 | 117 | public function addText($params) |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | * |
151 | 151 | * @param int $angle Rotation angle |
152 | 152 | * |
153 | - * @return TRUE or PEAR Error object on error |
|
153 | + * @return boolean or PEAR Error object on error |
|
154 | 154 | */ |
155 | 155 | public function rotate($angle) |
156 | 156 | { |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | * @param int $in_cropY The Y coordinate on the image to start the crop |
193 | 193 | * |
194 | 194 | * @access public |
195 | - * @return TRUE or PEAR Error object on error |
|
195 | + * @return boolean or PEAR Error object on error |
|
196 | 196 | */ |
197 | 197 | public function crop($in_cropWidth, $in_cropHeight, $in_cropX, $in_cropY) |
198 | 198 | { |
@@ -324,7 +324,7 @@ discard block |
||
324 | 324 | * Gets the image details |
325 | 325 | * |
326 | 326 | * @access private |
327 | - * @return TRUE on success or PEAR Error object on error |
|
327 | + * @return boolean on success or PEAR Error object on error |
|
328 | 328 | */ |
329 | 329 | public function _get_image_details() |
330 | 330 | { |
@@ -341,7 +341,7 @@ discard block |
||
341 | 341 | /** |
342 | 342 | * Horizontal mirroring |
343 | 343 | * |
344 | - * @return TRUE on success, PEAR Error object on error |
|
344 | + * @return boolean on success, PEAR Error object on error |
|
345 | 345 | */ |
346 | 346 | public function mirror() |
347 | 347 | { |
@@ -353,7 +353,7 @@ discard block |
||
353 | 353 | /** |
354 | 354 | * Vertical mirroring |
355 | 355 | * |
356 | - * @return TRUE on success, PEAR Error object on error |
|
356 | + * @return boolean on success, PEAR Error object on error |
|
357 | 357 | */ |
358 | 358 | public function flip() |
359 | 359 | { |
@@ -309,7 +309,7 @@ discard block |
||
309 | 309 | /** |
310 | 310 | * Image_Transform_Driver_NetPBM::_postProcess() |
311 | 311 | * |
312 | - * @param $type |
|
312 | + * @param string $type |
|
313 | 313 | * @param $quality |
314 | 314 | * @return string A chain of shell command |
315 | 315 | * @link http://netpbm.sourceforge.net/doc/directory.html |
@@ -471,7 +471,7 @@ discard block |
||
471 | 471 | * |
472 | 472 | * @param string $type (jpeg,png...); |
473 | 473 | * @param int $quality 75 |
474 | - * @return TRUE or PEAR Error object on error |
|
474 | + * @return boolean or PEAR Error object on error |
|
475 | 475 | */ |
476 | 476 | public function display($type = null, $quality = null) |
477 | 477 | { |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | * classes. |
226 | 226 | * |
227 | 227 | * @access public |
228 | - * @param mixed $func The function name (or array of class/method) to call |
|
228 | + * @param string[] $func The function name (or array of class/method) to call |
|
229 | 229 | * @param mixed $args The arguments to pass to the function |
230 | 230 | * @return void |
231 | 231 | */ |
@@ -452,7 +452,7 @@ discard block |
||
452 | 452 | * PEAR_ERROR_TRIGGER, PEAR_ERROR_DIE, |
453 | 453 | * PEAR_ERROR_CALLBACK, PEAR_ERROR_EXCEPTION. |
454 | 454 | * |
455 | - * @param mixed $options If $mode is PEAR_ERROR_TRIGGER, this parameter |
|
455 | + * @param integer|null $options If $mode is PEAR_ERROR_TRIGGER, this parameter |
|
456 | 456 | * specifies the PHP-internal error level (one of |
457 | 457 | * E_USER_NOTICE, E_USER_WARNING or E_USER_ERROR). |
458 | 458 | * If $mode is PEAR_ERROR_CALLBACK, this |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | * Supports multiple files and dirs and also recursive deletes |
197 | 197 | * |
198 | 198 | * @param string $args the arguments for rm |
199 | - * @return mixed PEAR_Error or true for success |
|
199 | + * @return boolean PEAR_Error or true for success |
|
200 | 200 | * @static |
201 | 201 | * @access public |
202 | 202 | */ |
@@ -388,7 +388,7 @@ discard block |
||
388 | 388 | * c:\windows\temp or /tmp will be used. |
389 | 389 | * |
390 | 390 | * @param string $args The arguments |
391 | - * @return mixed the full path of the created (file|dir) or false |
|
391 | + * @return boolean|string the full path of the created (file|dir) or false |
|
392 | 392 | * @see System::tmpdir() |
393 | 393 | * @static |
394 | 394 | * @access public |
@@ -496,7 +496,7 @@ discard block |
||
496 | 496 | * @param string $program The command to search for |
497 | 497 | * @param mixed $fallback Value to return if $program is not found |
498 | 498 | * |
499 | - * @return mixed A string with the full path or false if not found |
|
499 | + * @return string A string with the full path or false if not found |
|
500 | 500 | * @static |
501 | 501 | * @author Stig Bakken <[email protected]> |
502 | 502 | */ |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | |
82 | 82 | /** |
83 | 83 | * @param $db |
84 | - * @param $type |
|
84 | + * @param string $type |
|
85 | 85 | */ |
86 | 86 | public function __construct(XoopsDatabase $db, $type) |
87 | 87 | { |
@@ -509,7 +509,7 @@ discard block |
||
509 | 509 | } |
510 | 510 | |
511 | 511 | /** |
512 | - * @param $photoName |
|
512 | + * @param string $photoName |
|
513 | 513 | */ |
514 | 514 | public function _largePhotoTreatment($photoName) |
515 | 515 | { |
@@ -548,7 +548,7 @@ discard block |
||
548 | 548 | } |
549 | 549 | |
550 | 550 | /** |
551 | - * @param $photoName |
|
551 | + * @param string $photoName |
|
552 | 552 | * @param null $filePath |
553 | 553 | * @param null $mediumFilePath |
554 | 554 | */ |
@@ -631,7 +631,7 @@ discard block |
||
631 | 631 | } |
632 | 632 | |
633 | 633 | /** |
634 | - * @param $photoName |
|
634 | + * @param string $photoName |
|
635 | 635 | * |
636 | 636 | * @return array |
637 | 637 | */ |
@@ -661,7 +661,7 @@ discard block |
||
661 | 661 | } |
662 | 662 | |
663 | 663 | /** |
664 | - * @param $photoName |
|
664 | + * @param string $photoName |
|
665 | 665 | * |
666 | 666 | * @return string |
667 | 667 | */ |
@@ -710,7 +710,7 @@ discard block |
||
710 | 710 | } |
711 | 711 | |
712 | 712 | /** |
713 | - * @param $photoName |
|
713 | + * @param string $photoName |
|
714 | 714 | * |
715 | 715 | * @return float |
716 | 716 | */ |
@@ -871,14 +871,14 @@ discard block |
||
871 | 871 | } |
872 | 872 | |
873 | 873 | /** |
874 | - * @param $catId |
|
874 | + * @param integer $catId |
|
875 | 875 | * @param $dirtyPhotoName |
876 | 876 | * @param string $photoTitle |
877 | 877 | * @param string $photoDesc |
878 | 878 | * @param string $photoExtra |
879 | 879 | * @param string $photoTag |
880 | 880 | * |
881 | - * @return mixed |
|
881 | + * @return boolean |
|
882 | 882 | */ |
883 | 883 | public function addLocalPhoto($catId, $dirtyPhotoName, $photoTitle = '', $photoDesc = '', $photoExtra = '', $photoTag = '') |
884 | 884 | { |
@@ -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 |