@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | /** |
129 | 129 | * Check if file exists. |
130 | 130 | * |
131 | - * @param array|string $mFile |
|
131 | + * @param string $mFile |
|
132 | 132 | * @return boolean TRUE if file exists, FALSE otherwise. |
133 | 133 | */ |
134 | 134 | public function existFile($mFile) |
@@ -280,7 +280,7 @@ discard block |
||
280 | 280 | * Creates a directory if they are in an array. If it does not exist and |
281 | 281 | * allows the creation of nested directories specified in the pathname. |
282 | 282 | * |
283 | - * @param string|array $mDir |
|
283 | + * @param string $mDir |
|
284 | 284 | * @param integer (octal) $iMode Default: 0777 |
285 | 285 | * @return void |
286 | 286 | * @throws Exception If the file cannot be created. |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | * |
331 | 331 | * @param string $sFrom File or directory. |
332 | 332 | * @param string $sTo File or directory. |
333 | - * @return integer|boolean Returns the last line on success, and FALSE on failure. |
|
333 | + * @return string|false Returns the last line on success, and FALSE on failure. |
|
334 | 334 | */ |
335 | 335 | public function systemCopy($sFrom, $sTo) |
336 | 336 | { |
@@ -372,7 +372,7 @@ discard block |
||
372 | 372 | * |
373 | 373 | * @param string $sFrom File or directory. |
374 | 374 | * @param string $sTo File or directory. |
375 | - * @return integer|boolean Returns the last line on success, and FALSE on failure. |
|
375 | + * @return string|false Returns the last line on success, and FALSE on failure. |
|
376 | 376 | */ |
377 | 377 | public function systemRename($sFrom, $sTo) |
378 | 378 | { |
@@ -426,6 +426,7 @@ discard block |
||
426 | 426 | * Get the creation/modification time of a file in the Unix timestamp. |
427 | 427 | * |
428 | 428 | * @param string Full path of the file. |
429 | + * @param string $sFile |
|
429 | 430 | * @return integer|boolean Returns the time the file was last modified, or FALSE if it not found. |
430 | 431 | */ |
431 | 432 | public function getModifTime($sFile) |
@@ -438,6 +439,7 @@ discard block |
||
438 | 439 | * Shortened form of self::getModifTime() |
439 | 440 | * |
440 | 441 | * @param string Full path of the file. |
442 | + * @param string $sFile |
|
441 | 443 | * @return integer Returns the latest modification time of the file in Unix timestamp. |
442 | 444 | */ |
443 | 445 | public static function version($sFile) |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | /** |
78 | 78 | * Are we capable to receive gzipped data? |
79 | 79 | * |
80 | - * @return string|boolean Returns the encoding if it is accepted, false otherwise. Maybe additional check for Mac OS... |
|
80 | + * @return false|string Returns the encoding if it is accepted, false otherwise. Maybe additional check for Mac OS... |
|
81 | 81 | */ |
82 | 82 | public function encoding() |
83 | 83 | { |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | } |
145 | 145 | |
146 | 146 | /** |
147 | - * @return string|null The HTTP User Agent is it exists, otherwise the NULL value. |
|
147 | + * @return string The HTTP User Agent is it exists, otherwise the NULL value. |
|
148 | 148 | */ |
149 | 149 | public function getUserAgent() |
150 | 150 | { |