@@ -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) |