aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTobias Assmann <tobias.assmann@ecsec.de>2021-07-16 13:33:29 +0200
committerJulius Härtl <jus@bitgrid.net>2021-10-08 08:06:06 +0200
commitcaae37e9e7edb366eda7cb70490b9504d927231a (patch)
tree08e464ee71fcfe5e0e4f925a8eccd935ae231bd8 /lib
parentce834cbb5536fc7e42e78ef44f99015ee87a137b (diff)
downloadnextcloud-server-caae37e9e7edb366eda7cb70490b9504d927231a.tar.gz
nextcloud-server-caae37e9e7edb366eda7cb70490b9504d927231a.zip
add spaces around operators
Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Authentication/Listeners/UserLoggedInListener.php2
-rw-r--r--lib/private/Authentication/Token/PublicKeyTokenProvider.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Authentication/Listeners/UserLoggedInListener.php b/lib/private/Authentication/Listeners/UserLoggedInListener.php
index 5c1b289ad44..88298889057 100644
--- a/lib/private/Authentication/Listeners/UserLoggedInListener.php
+++ b/lib/private/Authentication/Listeners/UserLoggedInListener.php
@@ -49,7 +49,7 @@ class UserLoggedInListener implements IEventListener {
}
// prevent setting an empty pw as result of pw-less-login
- if ($event->getPassword()==='') {
+ if ($event->getPassword() === '') {
return;
}
diff --git a/lib/private/Authentication/Token/PublicKeyTokenProvider.php b/lib/private/Authentication/Token/PublicKeyTokenProvider.php
index 009acf10aae..e8149319904 100644
--- a/lib/private/Authentication/Token/PublicKeyTokenProvider.php
+++ b/lib/private/Authentication/Token/PublicKeyTokenProvider.php
@@ -414,7 +414,7 @@ class PublicKeyTokenProvider implements IProvider {
$this->cache->clear();
// prevent setting an empty pw as result of pw-less-login
- if ($password==='') {
+ if ($password === '') {
return;
}