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:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user