@@ -295,7 +295,7 @@ discard block |
||
| 295 | 295 | /** |
| 296 | 296 | * Horizontal mirroring |
| 297 | 297 | * |
| 298 | - * @return mixed TRUE or PEAR_Error object on error |
|
| 298 | + * @return boolean TRUE or PEAR_Error object on error |
|
| 299 | 299 | * @access public |
| 300 | 300 | * @see flip() |
| 301 | 301 | **/ |
@@ -314,7 +314,7 @@ discard block |
||
| 314 | 314 | /** |
| 315 | 315 | * Vertical mirroring |
| 316 | 316 | * |
| 317 | - * @return TRUE or PEAR Error object on error |
|
| 317 | + * @return boolean or PEAR Error object on error |
|
| 318 | 318 | * @access public |
| 319 | 319 | * @see mirror() |
| 320 | 320 | **/ |
@@ -224,7 +224,7 @@ discard block |
||
| 224 | 224 | * classes. |
| 225 | 225 | * |
| 226 | 226 | * @access public |
| 227 | - * @param mixed $func The function name (or array of class/method) to call |
|
| 227 | + * @param string[] $func The function name (or array of class/method) to call |
|
| 228 | 228 | * @param mixed $args The arguments to pass to the function |
| 229 | 229 | * @return void |
| 230 | 230 | */ |
@@ -451,7 +451,7 @@ discard block |
||
| 451 | 451 | * PEAR_ERROR_TRIGGER, PEAR_ERROR_DIE, |
| 452 | 452 | * PEAR_ERROR_CALLBACK, PEAR_ERROR_EXCEPTION. |
| 453 | 453 | * |
| 454 | - * @param mixed $options If $mode is PEAR_ERROR_TRIGGER, this parameter |
|
| 454 | + * @param integer|null $options If $mode is PEAR_ERROR_TRIGGER, this parameter |
|
| 455 | 455 | * specifies the PHP-internal error level (one of |
| 456 | 456 | * E_USER_NOTICE, E_USER_WARNING or E_USER_ERROR). |
| 457 | 457 | * If $mode is PEAR_ERROR_CALLBACK, this |
@@ -137,8 +137,8 @@ |
||
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | /** |
| 140 | - * @param $option |
|
| 141 | - * @return bool|mixed |
|
| 140 | + * @param string $option |
|
| 141 | + * @return string |
|
| 142 | 142 | */ |
| 143 | 143 | public static function getModuleOption($option) |
| 144 | 144 | { |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | 79 | * @param $db |
| 80 | - * @param $type |
|
| 80 | + * @param string $type |
|
| 81 | 81 | */ |
| 82 | 82 | public function __construct(XoopsDatabase $db, $type) |
| 83 | 83 | { |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | /** |
| 110 | 110 | * @param $data |
| 111 | 111 | * |
| 112 | - * @return bool |
|
| 112 | + * @return false|null |
|
| 113 | 113 | */ |
| 114 | 114 | public function modifyCat($data) |
| 115 | 115 | { |
@@ -236,7 +236,7 @@ discard block |
||
| 236 | 236 | /** |
| 237 | 237 | * @param ExtgalleryCat $cat |
| 238 | 238 | * |
| 239 | - * @return mixed |
|
| 239 | + * @return integer |
|
| 240 | 240 | */ |
| 241 | 241 | public function nbPhoto(&$cat) |
| 242 | 242 | { |
@@ -314,7 +314,7 @@ discard block |
||
| 314 | 314 | |
| 315 | 315 | /** |
| 316 | 316 | * @param $name |
| 317 | - * @param $selectMode |
|
| 317 | + * @param string $selectMode |
|
| 318 | 318 | * @param bool $addEmpty |
| 319 | 319 | * @param int $selected |
| 320 | 320 | * @param string $extra |
@@ -368,10 +368,10 @@ discard block |
||
| 368 | 368 | * @param array $cats |
| 369 | 369 | * @param string $name |
| 370 | 370 | * @param string $selectMode |
| 371 | - * @param $addEmpty |
|
| 372 | - * @param $selected |
|
| 373 | - * @param $extra |
|
| 374 | - * @param $displayWeight |
|
| 371 | + * @param boolean $addEmpty |
|
| 372 | + * @param integer $selected |
|
| 373 | + * @param string $extra |
|
| 374 | + * @param boolean $displayWeight |
|
| 375 | 375 | * |
| 376 | 376 | * @return string |
| 377 | 377 | */ |
@@ -570,6 +570,7 @@ discard block |
||
| 570 | 570 | * @param int $id The ID of the current node to process |
| 571 | 571 | * @param int $level The nlevel to assign to the current node |
| 572 | 572 | * @param int &$n A reference to the running tally for the n-value |
| 573 | + * @param integer $n |
|
| 573 | 574 | */ |
| 574 | 575 | public function _generateTreeData(&$arr, $id, $level, &$n) |
| 575 | 576 | { |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | |
| 92 | 92 | /** |
| 93 | 93 | * @param $db |
| 94 | - * @param $type |
|
| 94 | + * @param string $type |
|
| 95 | 95 | */ |
| 96 | 96 | public function __construct(XoopsDatabase $db, $type) |
| 97 | 97 | { |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | } |
| 174 | 174 | |
| 175 | 175 | /** |
| 176 | - * @param $cat |
|
| 176 | + * @param ExtgalleryCat $cat |
|
| 177 | 177 | * |
| 178 | 178 | * @return int |
| 179 | 179 | */ |
@@ -528,7 +528,7 @@ discard block |
||
| 528 | 528 | } |
| 529 | 529 | |
| 530 | 530 | /** |
| 531 | - * @param $photoName |
|
| 531 | + * @param string $photoName |
|
| 532 | 532 | */ |
| 533 | 533 | public function _largePhotoTreatment($photoName) |
| 534 | 534 | { |
@@ -569,7 +569,7 @@ discard block |
||
| 569 | 569 | } |
| 570 | 570 | |
| 571 | 571 | /** |
| 572 | - * @param $photoName |
|
| 572 | + * @param string $photoName |
|
| 573 | 573 | * @param null|string $filePath |
| 574 | 574 | * @param null $mediumFilePath |
| 575 | 575 | */ |
@@ -653,7 +653,7 @@ discard block |
||
| 653 | 653 | } |
| 654 | 654 | |
| 655 | 655 | /** |
| 656 | - * @param $photoName |
|
| 656 | + * @param string $photoName |
|
| 657 | 657 | * |
| 658 | 658 | * @return array |
| 659 | 659 | */ |
@@ -683,7 +683,7 @@ discard block |
||
| 683 | 683 | } |
| 684 | 684 | |
| 685 | 685 | /** |
| 686 | - * @param $photoName |
|
| 686 | + * @param string $photoName |
|
| 687 | 687 | * |
| 688 | 688 | * @return string |
| 689 | 689 | */ |
@@ -732,7 +732,7 @@ discard block |
||
| 732 | 732 | } |
| 733 | 733 | |
| 734 | 734 | /** |
| 735 | - * @param $photoName |
|
| 735 | + * @param string $photoName |
|
| 736 | 736 | * |
| 737 | 737 | * @return float |
| 738 | 738 | */ |
@@ -896,14 +896,14 @@ discard block |
||
| 896 | 896 | } |
| 897 | 897 | |
| 898 | 898 | /** |
| 899 | - * @param $catId |
|
| 899 | + * @param integer $catId |
|
| 900 | 900 | * @param $dirtyPhotoName |
| 901 | 901 | * @param string $photoTitle |
| 902 | 902 | * @param string $photoDesc |
| 903 | 903 | * @param string $photoExtra |
| 904 | 904 | * @param string $photoTag |
| 905 | 905 | * |
| 906 | - * @return mixed |
|
| 906 | + * @return boolean |
|
| 907 | 907 | */ |
| 908 | 908 | public function addLocalPhoto( |
| 909 | 909 | $catId, |