@@ -145,7 +145,7 @@ |
||
| 145 | 145 | throw new AuthException(ExceptionMessages::INCORRECT_VERIFICATION_CODE); |
| 146 | 146 | } |
| 147 | 147 | |
| 148 | - if (new \DateTime() >= new \DateTime($user[$this->keys[self::OTP_EXPIRY_KEY]])){ |
|
| 148 | + if (new \DateTime() >= new \DateTime($user[$this->keys[self::OTP_EXPIRY_KEY]])) { |
|
| 149 | 149 | throw new AuthException(ExceptionMessages::VERIFICATION_CODE_EXPIRED); |
| 150 | 150 | } |
| 151 | 151 | |
@@ -181,7 +181,7 @@ |
||
| 181 | 181 | throw new AuthException(ExceptionMessages::INCORRECT_VERIFICATION_CODE); |
| 182 | 182 | } |
| 183 | 183 | |
| 184 | - if (new \DateTime() >= new \DateTime($user[$this->keys[self::OTP_EXPIRY_KEY]])){ |
|
| 184 | + if (new \DateTime() >= new \DateTime($user[$this->keys[self::OTP_EXPIRY_KEY]])) { |
|
| 185 | 185 | throw new AuthException(ExceptionMessages::VERIFICATION_CODE_EXPIRED); |
| 186 | 186 | } |
| 187 | 187 | |