@@ -186,7 +186,7 @@ |
||
186 | 186 | { |
187 | 187 | $user = $this->authService->get($this->keys['otpToken'], $otp_token); |
188 | 188 | |
189 | - if (new \DateTime() >= new \DateTime($user[$this->keys['otpExpiryIn']])){ |
|
189 | + if (new \DateTime() >= new \DateTime($user[$this->keys['otpExpiryIn']])) { |
|
190 | 190 | throw new AuthException(ExceptionMessages::VERIFICATION_CODE_EXPIRY_IN); |
191 | 191 | } |
192 | 192 |
@@ -186,7 +186,7 @@ |
||
186 | 186 | { |
187 | 187 | $user = $this->authService->get($this->keys['otpToken'], $otp_token); |
188 | 188 | |
189 | - if (new \DateTime() >= new \DateTime($user[$this->keys['otpExpiryIn']])){ |
|
189 | + if (new \DateTime() >= new \DateTime($user[$this->keys['otpExpiryIn']])) { |
|
190 | 190 | throw new AuthException(ExceptionMessages::VERIFICATION_CODE_EXPIRY_IN); |
191 | 191 | } |
192 | 192 |