mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-03 14:47:30 +02:00
Improve code style
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user