@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | * |
| 97 | 97 | * @param string filename |
| 98 | 98 | * |
| 99 | - * @return mixed TRUE or a PEAR error object on error |
|
| 99 | + * @return boolean TRUE or a PEAR error object on error |
|
| 100 | 100 | * @see PEAR::isError() |
| 101 | 101 | */ |
| 102 | 102 | function load($image) |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | * 'angle' A imlib direction constant |
| 131 | 131 | * ) |
| 132 | 132 | * |
| 133 | - * @return TRUE or PEAR Error object on error |
|
| 133 | + * @return boolean or PEAR Error object on error |
|
| 134 | 134 | * @see PEAR::isError() |
| 135 | 135 | */ |
| 136 | 136 | function addText($params) |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | * |
| 170 | 170 | * @param int $angle Rotation angle |
| 171 | 171 | * |
| 172 | - * @return TRUE or PEAR Error object on error |
|
| 172 | + * @return boolean or PEAR Error object on error |
|
| 173 | 173 | */ |
| 174 | 174 | function rotate($angle) |
| 175 | 175 | { |
@@ -343,7 +343,7 @@ discard block |
||
| 343 | 343 | * Gets the image details |
| 344 | 344 | * |
| 345 | 345 | * @access private |
| 346 | - * @return TRUE on success or PEAR Error object on error |
|
| 346 | + * @return boolean on success or PEAR Error object on error |
|
| 347 | 347 | */ |
| 348 | 348 | function _get_image_details() |
| 349 | 349 | { |
@@ -359,7 +359,7 @@ discard block |
||
| 359 | 359 | /** |
| 360 | 360 | * Horizontal mirroring |
| 361 | 361 | * |
| 362 | - * @return TRUE on success, PEAR Error object on error |
|
| 362 | + * @return boolean on success, PEAR Error object on error |
|
| 363 | 363 | */ |
| 364 | 364 | function mirror() |
| 365 | 365 | { |
@@ -370,7 +370,7 @@ discard block |
||
| 370 | 370 | /** |
| 371 | 371 | * Vertical mirroring |
| 372 | 372 | * |
| 373 | - * @return TRUE on success, PEAR Error object on error |
|
| 373 | + * @return boolean on success, PEAR Error object on error |
|
| 374 | 374 | */ |
| 375 | 375 | function flip() |
| 376 | 376 | { |
@@ -396,7 +396,7 @@ discard block |
||
| 396 | 396 | /** |
| 397 | 397 | * Image_Transform_Driver_NetPBM::_postProcess() |
| 398 | 398 | * |
| 399 | - * @param $type |
|
| 399 | + * @param string $type |
|
| 400 | 400 | * @param $quality |
| 401 | 401 | * @return string A chain of shell command |
| 402 | 402 | * @link http://netpbm.sourceforge.net/doc/directory.html |
@@ -570,7 +570,7 @@ discard block |
||
| 570 | 570 | * |
| 571 | 571 | * @param string $type (jpeg,png...); |
| 572 | 572 | * @param int $quality 75 |
| 573 | - * @return TRUE or PEAR Error object on error |
|
| 573 | + * @return boolean or PEAR Error object on error |
|
| 574 | 574 | */ |
| 575 | 575 | function display($type = null, $quality = null) |
| 576 | 576 | { |
@@ -266,7 +266,7 @@ |
||
| 266 | 266 | * Use this function to register a shutdown method for static |
| 267 | 267 | * classes. |
| 268 | 268 | * |
| 269 | - * @param mixed $func The function name (or array of class/method) to call |
|
| 269 | + * @param string[] $func The function name (or array of class/method) to call |
|
| 270 | 270 | * @param mixed $args The arguments to pass to the function |
| 271 | 271 | * |
| 272 | 272 | * @return void |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | * Supports multiple files and dirs and also recursive deletes |
| 204 | 204 | * |
| 205 | 205 | * @param string $args the arguments for rm |
| 206 | - * @return mixed PEAR_Error or true for success |
|
| 206 | + * @return boolean PEAR_Error or true for success |
|
| 207 | 207 | * @static |
| 208 | 208 | * @access public |
| 209 | 209 | */ |
@@ -389,7 +389,7 @@ discard block |
||
| 389 | 389 | * c:\windows\temp or /tmp will be used. |
| 390 | 390 | * |
| 391 | 391 | * @param string $args The arguments |
| 392 | - * @return mixed the full path of the created (file|dir) or false |
|
| 392 | + * @return boolean|string the full path of the created (file|dir) or false |
|
| 393 | 393 | * @see System::tmpdir() |
| 394 | 394 | */ |
| 395 | 395 | public static function mktemp($args = null) |
@@ -489,7 +489,7 @@ discard block |
||
| 489 | 489 | * @param string $program The command to search for |
| 490 | 490 | * @param mixed $fallback Value to return if $program is not found |
| 491 | 491 | * |
| 492 | - * @return mixed A string with the full path or false if not found |
|
| 492 | + * @return string A string with the full path or false if not found |
|
| 493 | 493 | * @author Stig Bakken <[email protected]> |
| 494 | 494 | */ |
| 495 | 495 | public static function which($program, $fallback = false) |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) |
| 14 | 14 | * @author Zoullou (http://www.zoullou.net) |
| 15 | 15 | * @package ExtGallery |
| 16 | - * @param $option |
|
| 16 | + * @param string $option |
|
| 17 | 17 | * @return bool |
| 18 | 18 | */ |
| 19 | 19 | |
@@ -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 | { |
@@ -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 | { |