summaryrefslogtreecommitdiffstats
path: root/lib/filesystem.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-11-02 14:59:36 -0700
committerLukas Reschke <lukas@statuscode.ch>2012-11-02 14:59:36 -0700
commitfd584f446dabb1d3727a932cd5f4dbaafe63f0b8 (patch)
tree17efc1c42c3e844b69c9c19f6eba1b4cbd16f5e0 /lib/filesystem.php
parent2dbf2c69deaf2bb8bdf02d4539756f8f6d2b9738 (diff)
parentafadf93d317e27fd848f1e70d5849169f862aed9 (diff)
downloadnextcloud-server-fd584f446dabb1d3727a932cd5f4dbaafe63f0b8.tar.gz
nextcloud-server-fd584f446dabb1d3727a932cd5f4dbaafe63f0b8.zip
Merge pull request #220 from fmms/checkstyle02
Checkstyle: many fixes
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r--lib/filesystem.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php
index 79649a69fd7..79bce2c6d00 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -303,7 +303,7 @@ class OC_Filesystem{
* @param array arguments
* @return OC_Filestorage
*/
- static private function createStorage($class,$arguments) {
+ static private function createStorage($class, $arguments) {
if(class_exists($class)) {
try {
return new $class($arguments);
@@ -349,7 +349,7 @@ class OC_Filesystem{
* @param OC_Filestorage storage
* @param string mountpoint
*/
- static public function mount($class,$arguments,$mountpoint) {
+ static public function mount($class, $arguments, $mountpoint) {
if($mountpoint[0]!='/') {
$mountpoint='/'.$mountpoint;
}
@@ -501,32 +501,32 @@ class OC_Filesystem{
static public function file_get_contents($path) {
return self::$defaultInstance->file_get_contents($path);
}
- static public function file_put_contents($path,$data) {
+ static public function file_put_contents($path, $data) {
return self::$defaultInstance->file_put_contents($path, $data);
}
static public function unlink($path) {
return self::$defaultInstance->unlink($path);
}
- static public function rename($path1,$path2) {
+ static public function rename($path1, $path2) {
return self::$defaultInstance->rename($path1, $path2);
}
- static public function copy($path1,$path2) {
+ static public function copy($path1, $path2) {
return self::$defaultInstance->copy($path1, $path2);
}
- static public function fopen($path,$mode) {
+ static public function fopen($path, $mode) {
return self::$defaultInstance->fopen($path, $mode);
}
static public function toTmpFile($path) {
return self::$defaultInstance->toTmpFile($path);
}
- static public function fromTmpFile($tmpFile,$path) {
+ static public function fromTmpFile($tmpFile, $path) {
return self::$defaultInstance->fromTmpFile($tmpFile, $path);
}
static public function getMimeType($path) {
return self::$defaultInstance->getMimeType($path);
}
- static public function hash($type,$path, $raw = false) {
+ static public function hash($type, $path, $raw = false) {
return self::$defaultInstance->hash($type, $path, $raw);
}
@@ -543,7 +543,7 @@ class OC_Filesystem{
* @param int $time
* @return bool
*/
- static public function hasUpdated($path,$time) {
+ static public function hasUpdated($path, $time) {
return self::$defaultInstance->hasUpdated($path, $time);
}
@@ -570,7 +570,7 @@ class OC_Filesystem{
* @param bool $stripTrailingSlash
* @return string
*/
- public static function normalizePath($path,$stripTrailingSlash=true) {
+ public static function normalizePath($path, $stripTrailingSlash=true) {
if($path=='') {
return '/';
}