summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/swift.php
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-11-04 11:10:46 +0100
committerFelix Moeller <mail@felixmoeller.de>2012-11-04 11:10:46 +0100
commit30d7993e0105a6c98cbf61d4253d08acf236aca7 (patch)
treebbf0cf871a65a2cb897f3a4ea405cf3ca3980c47 /apps/files_external/lib/swift.php
parentf8d1d7787e1112842db81a629dfd84b586fbebda (diff)
downloadnextcloud-server-30d7993e0105a6c98cbf61d4253d08acf236aca7.tar.gz
nextcloud-server-30d7993e0105a6c98cbf61d4253d08acf236aca7.zip
Checkstyle fixes: NoSpaceAfterComma
Diffstat (limited to 'apps/files_external/lib/swift.php')
-rw-r--r--apps/files_external/lib/swift.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_external/lib/swift.php b/apps/files_external/lib/swift.php
index c04de45d404..2f0076706e4 100644
--- a/apps/files_external/lib/swift.php
+++ b/apps/files_external/lib/swift.php
@@ -39,7 +39,7 @@ class OC_FileStorage_SWIFT extends OC_Filestorage_Common{
* @return string
*/
private function getContainerName($path) {
- $path=trim(trim($this->root,'/')."/".$path,'/.');
+ $path=trim(trim($this->root, '/')."/".$path, '/.');
return str_replace('/', '\\', $path);
}
@@ -205,7 +205,7 @@ class OC_FileStorage_SWIFT extends OC_Filestorage_Common{
unlink($tmpFile);
return false;
}else{
- $fh=fopen($tmpFile,'a');
+ $fh=fopen($tmpFile, 'a');
fwrite($fh, $name."\n");
}
}catch(Exception $e) {
@@ -432,7 +432,7 @@ class OC_FileStorage_SWIFT extends OC_Filestorage_Common{
case 'c':
case 'c+':
$tmpFile=$this->getTmpFile($path);
- OC_CloseStreamWrapper::$callBacks[$tmpFile]=array($this,'writeBack');
+ OC_CloseStreamWrapper::$callBacks[$tmpFile]=array($this, 'writeBack');
self::$tempFiles[$tmpFile]=$path;
return fopen('close://'.$tmpFile, $mode);
}