diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-04-09 20:39:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 20:39:37 +0200 |
commit | 008e6d7e849a82fdc3aa20169c4c8bdd0fe506be (patch) | |
tree | 6abbe3d8741de956ad787b5e3d55cec85ceb558f /lib/private/User | |
parent | 64510932b8bd7d4d1d490f7da7fb9ebcf21e31c2 (diff) | |
parent | 3a415e4139d6e28c16b0420ab411e6df5ff6d54a (diff) | |
download | nextcloud-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 'lib/private/User')
-rw-r--r-- | lib/private/User/Backend.php | 2 | ||||
-rw-r--r-- | lib/private/User/Session.php | 2 | ||||
-rw-r--r-- | lib/private/User/User.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/User/Backend.php b/lib/private/User/Backend.php index 53c5a55a2e3..e90cfdc2e3d 100644 --- a/lib/private/User/Backend.php +++ b/lib/private/User/Backend.php @@ -150,7 +150,7 @@ abstract class Backend implements UserInterface { public function getDisplayNames($search = '', $limit = null, $offset = null) { $displayNames = []; $users = $this->getUsers($search, $limit, $offset); - foreach ( $users as $user) { + foreach ($users as $user) { $displayNames[$user] = $user; } return $displayNames; diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php index ca0c7263f7b..7b129a393e3 100644 --- a/lib/private/User/Session.php +++ b/lib/private/User/Session.php @@ -459,7 +459,7 @@ class Session implements IUserSession, Emitter { } // Try to login with this username and password - if (!$this->login($user, $password) ) { + if (!$this->login($user, $password)) { // Failed, maybe the user used their email address $users = $this->manager->getByEmail($user); diff --git a/lib/private/User/User.php b/lib/private/User/User.php index 0f17af3063e..bc492a6df29 100644 --- a/lib/private/User/User.php +++ b/lib/private/User/User.php @@ -449,7 +449,7 @@ class User implements IUser { public function getCloudId() { $uid = $this->getUID(); $server = $this->urlGenerator->getAbsoluteURL('/'); - $server = rtrim( $this->removeProtocolFromUrl($server), '/'); + $server = rtrim($this->removeProtocolFromUrl($server), '/'); return \OC::$server->getCloudIdManager()->getCloudId($uid, $server)->getId(); } |