From ada9553919880ca2e7f88363d8f4027650b9b4a1 Mon Sep 17 00:00:00 2001 From: Marco Date: Mon, 20 Mar 2023 09:25:29 +0100 Subject: [PATCH] Improve code style --- src/Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth.php b/src/Auth.php index f456e6e..d0c6529 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -1462,7 +1462,7 @@ final class Auth extends UserManager { throw new DatabaseError($e->getMessage()); } - return (int) $enabled === 1; + return ((int) $enabled) === 1; } else { throw new NotLoggedInException();