Completed
Branch master (bf361a)
by Pierre-Henry
35:18
created
_protected/framework/File/Transfer/Ftp.class.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -191,7 +191,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.