1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-05 15:47:25 +02:00

Improve code style

This commit is contained in:
Marco
2023-03-20 09:25:29 +01:00
parent f9700fcae6
commit ada9553919

View File

@@ -1462,7 +1462,7 @@ final class Auth extends UserManager {
throw new DatabaseError($e->getMessage()); throw new DatabaseError($e->getMessage());
} }
return (int) $enabled === 1; return ((int) $enabled) === 1;
} }
else { else {
throw new NotLoggedInException(); throw new NotLoggedInException();