@@ -191,7 +191,8 @@ discard block |
||
191 | 191 | * If the file does not exist, the function does nothing. |
192 | 192 | * |
193 | 193 | * @param mixed (string | array) $mFile |
194 | - * @return boolean |
|
194 | + * @param string $mFile |
|
195 | + * @return boolean|null |
|
195 | 196 | */ |
196 | 197 | public function deleteFile($mFile) |
197 | 198 | { |
@@ -221,7 +222,7 @@ discard block |
||
221 | 222 | * Allocates space for a file to be uploaded. |
222 | 223 | * |
223 | 224 | * @param string $sFile |
224 | - * @return mixed (boolean | string) Returns TRUE on success or a message from the server in case of failure. |
|
225 | + * @return string|boolean (boolean | string) Returns TRUE on success or a message from the server in case of failure. |
|
225 | 226 | */ |
226 | 227 | public function alloc($sFile) |
227 | 228 | { |
@@ -288,7 +289,7 @@ discard block |
||
288 | 289 | * Requests execution of a command on the FTP server. |
289 | 290 | * |
290 | 291 | * @param string $sCommand |
291 | - * @return Returns TRUE if the command was successful (server sent response code: 200); otherwise returns FALSE. |
|
292 | + * @return boolean TRUE if the command was successful (server sent response code: 200); otherwise returns FALSE. |
|
292 | 293 | */ |
293 | 294 | public function exec($sCommand) |
294 | 295 | { |