Fixed some inspection issues.

This commit is contained in:
Jan Böhmer 2022-08-14 19:32:53 +02:00
parent eef26f7ae6
commit 639829f5c5
97 changed files with 305 additions and 185 deletions

View file

@ -721,7 +721,7 @@ class User extends AttachmentContainingDBElement implements UserInterface, HasPe
*/
public function isGoogleAuthenticatorEnabled(): bool
{
return $this->googleAuthenticatorSecret ? true : false;
return (bool)$this->googleAuthenticatorSecret;
}
/**