Skip to content

Commit

Permalink
add spaces around operators
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
  • Loading branch information
Tobias Assmann committed Jul 16, 2021
1 parent 1f1ae97 commit 669bd4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function handle(Event $event): void {
}

// prevent setting an empty pw as result of pw-less-login
if ($event->getPassword()==='') {
if ($event->getPassword() === '') {
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ public function updatePasswords(string $uid, string $password) {
$this->cache->clear();

// prevent setting an empty pw as result of pw-less-login
if ($password==='') {
if ($password === '') {
return;
}

Expand Down

0 comments on commit 669bd4d

Please sign in to comment.