summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/ftp.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-09 17:35:47 +0100
committerBart Visscher <bartv@thisnet.nl>2013-02-14 08:36:26 +0100
commitcd35d257bb3bef2e02ccf0cd99e59a74f1a753b9 (patch)
tree65d75158609697518a2023932b75c60c1a99ea42 /apps/files_external/lib/ftp.php
parentd3ef967993d1e685e3311b073a8312c9dafdf214 (diff)
downloadnextcloud-server-cd35d257bb3bef2e02ccf0cd99e59a74f1a753b9.tar.gz
nextcloud-server-cd35d257bb3bef2e02ccf0cd99e59a74f1a753b9.zip
Fix NoSpaceAfterComma and SpaceBeforeComma
Diffstat (limited to 'apps/files_external/lib/ftp.php')
-rw-r--r--apps/files_external/lib/ftp.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/ftp.php b/apps/files_external/lib/ftp.php
index 9a27b63323a..9b6c037bb57 100644
--- a/apps/files_external/lib/ftp.php
+++ b/apps/files_external/lib/ftp.php
@@ -68,7 +68,7 @@ class FTP extends \OC\Files\Storage\StreamWrapper{
case 'ab':
//these are supported by the wrapper
$context = stream_context_create(array('ftp' => array('overwrite' => true)));
- return fopen($this->constructUrl($path),$mode, false,$context);
+ return fopen($this->constructUrl($path), $mode, false, $context);
case 'r+':
case 'w+':
case 'wb+':
@@ -89,7 +89,7 @@ class FTP extends \OC\Files\Storage\StreamWrapper{
$this->getFile($path, $tmpFile);
}
self::$tempFiles[$tmpFile]=$path;
- return fopen('close://'.$tmpFile,$mode);
+ return fopen('close://'.$tmpFile, $mode);
}
return false;
}