summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-04-09 20:39:37 +0200
committerGitHub <noreply@github.com>2020-04-09 20:39:37 +0200
commit008e6d7e849a82fdc3aa20169c4c8bdd0fe506be (patch)
tree6abbe3d8741de956ad787b5e3d55cec85ceb558f /apps/files_external/lib
parent64510932b8bd7d4d1d490f7da7fb9ebcf21e31c2 (diff)
parent3a415e4139d6e28c16b0420ab411e6df5ff6d54a (diff)
downloadnextcloud-server-008e6d7e849a82fdc3aa20169c4c8bdd0fe506be.tar.gz
nextcloud-server-008e6d7e849a82fdc3aa20169c4c8bdd0fe506be.zip
Merge pull request #20391 from nextcloud/refactor/spaces-cleanup
Remove all extra whitespace PSR2 does not like
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r--apps/files_external/lib/Lib/Storage/FTP.php2
-rw-r--r--apps/files_external/lib/Lib/Storage/SFTP.php2
-rw-r--r--apps/files_external/lib/Lib/Storage/SFTPWriteStream.php1
3 files changed, 2 insertions, 3 deletions
diff --git a/apps/files_external/lib/Lib/Storage/FTP.php b/apps/files_external/lib/Lib/Storage/FTP.php
index de4d001fc4a..0015f3008ef 100644
--- a/apps/files_external/lib/Lib/Storage/FTP.php
+++ b/apps/files_external/lib/Lib/Storage/FTP.php
@@ -56,7 +56,7 @@ class FTP extends StreamWrapper{
$this->secure = false;
}
$this->root=isset($params['root'])?$params['root']:'/';
- if ( ! $this->root || $this->root[0]!=='/') {
+ if (! $this->root || $this->root[0]!=='/') {
$this->root='/'.$this->root;
}
if (substr($this->root, -1) !== '/') {
diff --git a/apps/files_external/lib/Lib/Storage/SFTP.php b/apps/files_external/lib/Lib/Storage/SFTP.php
index acc4042f21b..ee848889c39 100644
--- a/apps/files_external/lib/Lib/Storage/SFTP.php
+++ b/apps/files_external/lib/Lib/Storage/SFTP.php
@@ -371,7 +371,7 @@ class SFTP extends \OC\Files\Storage\Common {
switch($mode) {
case 'r':
case 'rb':
- if ( !$this->file_exists($path)) {
+ if (!$this->file_exists($path)) {
return false;
}
SFTPReadStream::register();
diff --git a/apps/files_external/lib/Lib/Storage/SFTPWriteStream.php b/apps/files_external/lib/Lib/Storage/SFTPWriteStream.php
index cb693f82f71..b5bc3ab667d 100644
--- a/apps/files_external/lib/Lib/Storage/SFTPWriteStream.php
+++ b/apps/files_external/lib/Lib/Storage/SFTPWriteStream.php
@@ -180,4 +180,3 @@ class SFTPWriteStream implements File {
}
}
-