From b52ebf5224ce3dcecfb605b68c88c73eed075a55 Mon Sep 17 00:00:00 2001 From: Tobias Assmann Date: Fri, 16 Jul 2021 13:33:29 +0200 Subject: [PATCH] add spaces around operators Signed-off-by: Tobias Assmann --- lib/private/Authentication/Listeners/UserLoggedInListener.php | 2 +- lib/private/Authentication/Token/PublicKeyTokenProvider.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/Authentication/Listeners/UserLoggedInListener.php b/lib/private/Authentication/Listeners/UserLoggedInListener.php index d158545d22c..faf2edd54f7 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 c5e7c0601b4..81dc3164ec1 100644 --- a/lib/private/Authentication/Token/PublicKeyTokenProvider.php +++ b/lib/private/Authentication/Token/PublicKeyTokenProvider.php @@ -420,7 +420,7 @@ class PublicKeyTokenProvider implements IProvider { } // prevent setting an empty pw as result of pw-less-login - if ($password==='') { + if ($password === '') { return; }