@@ -149,7 +149,7 @@ |
||
149 | 149 | throw new AuthException(AuthException::INCORRECT_VERIFICATION_CODE); |
150 | 150 | } |
151 | 151 | |
152 | - if (new \DateTime() >= new \DateTime($user[$this->keys[self::OTP_EXPIRY_KEY]])){ |
|
152 | + if (new \DateTime() >= new \DateTime($user[$this->keys[self::OTP_EXPIRY_KEY]])) { |
|
153 | 153 | throw new AuthException(AuthException::VERIFICATION_CODE_EXPIRED); |
154 | 154 | } |
155 | 155 |
@@ -25,7 +25,7 @@ |
||
25 | 25 | ]; |
26 | 26 | |
27 | 27 | if (config()->get('debug') && !$die) { |
28 | - $debugOutput = (array)session()->get('_qt_debug_output') ?? []; |
|
28 | + $debugOutput = (array) session()->get('_qt_debug_output') ?? []; |
|
29 | 29 | array_push($debugOutput, $var); |
30 | 30 | session()->set('_qt_debug_output', $debugOutput); |
31 | 31 | } else { |