Passed
Push — master ( b2d95c...0ab82a )
by Tim
02:29
created
lib/Controller/OTP.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@
 block discarded – undo
212 212
         } elseif (isset($state['cmdotcom:resendRequested']) && ($state['cmdotcom:resendRequested'] === true)) {
213 213
             $t->data['message'] = '';
214 214
         } else {
215
-           throw new RuntimeException('Unknown request for SMS resend.');
215
+            throw new RuntimeException('Unknown request for SMS resend.');
216 216
         }
217 217
 
218 218
         return $t;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@
 block discarded – undo
270 270
             // Store hash & time
271 271
             $state['cmdotcom:hash'] = $hash;
272 272
             $state['cmdotcom:notBefore'] = time();
273
-            $state['cmdotcom:notAfter'] = time() + $state['cmdotcom:validFor'];;
273
+            $state['cmdotcom:notAfter'] = time() + $state['cmdotcom:validFor']; ;
274 274
 
275 275
             // Save state and redirect
276 276
             $id = Auth\State::saveState($state, 'cmdotcom:request');
Please login to merge, or discard this patch.