diff options
Diffstat (limited to 'User/AccountChecker.php')
-rw-r--r-- | User/AccountChecker.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/User/AccountChecker.php b/User/AccountChecker.php index 570f62b..ca73cab 100644 --- a/User/AccountChecker.php +++ b/User/AccountChecker.php @@ -33,7 +33,7 @@ class AccountChecker implements AccountCheckerInterface } if (!$account->isCredentialsNonExpired()) { - throw new CredentialsExpiredException("User credentials have expired.", $account); + throw new CredentialsExpiredException('User credentials have expired.', $account); } } @@ -47,15 +47,15 @@ class AccountChecker implements AccountCheckerInterface } if (!$account->isAccountNonLocked()) { - throw new LockedException("User account is locked.", $account); + throw new LockedException('User account is locked.', $account); } if (!$account->isEnabled()) { - throw new DisabledException("User account is disabled.", $account); + throw new DisabledException('User account is disabled.', $account); } if (!$account->isAccountNonExpired()) { - throw new AccountExpiredException("User account has expired.", $account); + throw new AccountExpiredException('User account has expired.', $account); } } } |