@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * |
92 | 92 | * @param string filename |
93 | 93 | * |
94 | - * @return mixed TRUE or a PEAR error object on error |
|
94 | + * @return boolean TRUE or a PEAR error object on error |
|
95 | 95 | * @see PEAR::isError() |
96 | 96 | */ |
97 | 97 | public function load($image) |
@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | * 'angle' A imlib direction constant |
126 | 126 | * ) |
127 | 127 | * |
128 | - * @return TRUE or PEAR Error object on error |
|
128 | + * @return boolean or PEAR Error object on error |
|
129 | 129 | * @see PEAR::isError() |
130 | 130 | */ |
131 | 131 | public function addText($params) |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | * |
166 | 166 | * @param int $angle Rotation angle |
167 | 167 | * |
168 | - * @return TRUE or PEAR Error object on error |
|
168 | + * @return boolean or PEAR Error object on error |
|
169 | 169 | */ |
170 | 170 | public function rotate($angle) |
171 | 171 | { |
@@ -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 | public function _get_image_details() |
349 | 349 | { |
@@ -360,7 +360,7 @@ discard block |
||
360 | 360 | /** |
361 | 361 | * Horizontal mirroring |
362 | 362 | * |
363 | - * @return TRUE on success, PEAR Error object on error |
|
363 | + * @return boolean on success, PEAR Error object on error |
|
364 | 364 | */ |
365 | 365 | public function mirror() |
366 | 366 | { |
@@ -372,7 +372,7 @@ discard block |
||
372 | 372 | /** |
373 | 373 | * Vertical mirroring |
374 | 374 | * |
375 | - * @return TRUE on success, PEAR Error object on error |
|
375 | + * @return boolean on success, PEAR Error object on error |
|
376 | 376 | */ |
377 | 377 | public function flip() |
378 | 378 | { |
@@ -328,7 +328,7 @@ discard block |
||
328 | 328 | /** |
329 | 329 | * Image_Transform_Driver_NetPBM::_postProcess() |
330 | 330 | * |
331 | - * @param $type |
|
331 | + * @param string $type |
|
332 | 332 | * @param $quality |
333 | 333 | * @return string A chain of shell command |
334 | 334 | * @link http://netpbm.sourceforge.net/doc/directory.html |
@@ -490,7 +490,7 @@ discard block |
||
490 | 490 | * |
491 | 491 | * @param string $type (jpeg,png...); |
492 | 492 | * @param int $quality 75 |
493 | - * @return TRUE or PEAR Error object on error |
|
493 | + * @return boolean or PEAR Error object on error |
|
494 | 494 | */ |
495 | 495 | public function display($type = null, $quality = null) |
496 | 496 | { |
@@ -259,7 +259,7 @@ |
||
259 | 259 | * Use this function to register a shutdown method for static |
260 | 260 | * classes. |
261 | 261 | * |
262 | - * @param mixed $func The function name (or array of class/method) to call |
|
262 | + * @param string[] $func The function name (or array of class/method) to call |
|
263 | 263 | * @param mixed $args The arguments to pass to the function |
264 | 264 | * |
265 | 265 | * @return void |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | * Supports multiple files and dirs and also recursive deletes |
207 | 207 | * |
208 | 208 | * @param string $args the arguments for rm |
209 | - * @return mixed PEAR_Error or true for success |
|
209 | + * @return boolean PEAR_Error or true for success |
|
210 | 210 | * @static |
211 | 211 | * @access public |
212 | 212 | */ |
@@ -395,7 +395,7 @@ discard block |
||
395 | 395 | * c:\windows\temp or /tmp will be used. |
396 | 396 | * |
397 | 397 | * @param string $args The arguments |
398 | - * @return mixed the full path of the created (file|dir) or false |
|
398 | + * @return boolean|string the full path of the created (file|dir) or false |
|
399 | 399 | * @see System::tmpdir() |
400 | 400 | */ |
401 | 401 | public static function mktemp($args = null) |
@@ -497,7 +497,7 @@ discard block |
||
497 | 497 | * @param string $program The command to search for |
498 | 498 | * @param mixed $fallback Value to return if $program is not found |
499 | 499 | * |
500 | - * @return mixed A string with the full path or false if not found |
|
500 | + * @return string A string with the full path or false if not found |
|
501 | 501 | * @author Stig Bakken <[email protected]> |
502 | 502 | */ |
503 | 503 | public static function which($program, $fallback = false) |
@@ -20,8 +20,8 @@ |
||
20 | 20 | |
21 | 21 | |
22 | 22 | /** |
23 | - * @param $option |
|
24 | - * @return bool|mixed |
|
23 | + * @param string $option |
|
24 | + * @return string |
|
25 | 25 | */ |
26 | 26 | public static function getModuleOption($option) |
27 | 27 | { |
@@ -1,7 +1,5 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use Xmf\Request; |
|
4 | - |
|
5 | 3 | require_once __DIR__ . '/common/traitversionchecks.php'; |
6 | 4 | require_once __DIR__ . '/common/traitserverstats.php'; |
7 | 5 | require_once __DIR__ . '/common/traitfilesmgmt.php'; |