Passed
Push — master ( 190804...f0461a )
by Stefan
02:54
created
src/WebAuthn/WebAuthnAbstractEvent.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@
 block discarded – undo
182 182
         return $this->credential;
183 183
     }
184 184
 
185
-   /**
185
+    /**
186 186
      * @return int
187 187
      */
188 188
     public function getAlgo(): int
Please login to merge, or discard this patch.
src/Controller/WebAuthn.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
             }
102 102
             return self::STATE_AUTH_ALLOWMGMT;
103 103
         } else { // in inflow, allow to check the management box; otherwise,
104
-                 // only auth
104
+                    // only auth
105 105
             $moduleConfig = Configuration::getOptionalConfig('module_webauthn.php')->toArray();
106 106
             return $moduleConfig['registration']['use_inflow_registration'] ?
107 107
                 self::STATE_AUTH_ALLOWMGMT : self::STATE_AUTH_NOMGMT;
Please login to merge, or discard this patch.
src/Auth/Process/WebAuthn.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -151,8 +151,8 @@
 block discarded – undo
151 151
         $session = Session::getSessionFromRequest();
152 152
         $lastSecondFactor = $session->getData("DateTime", 'LastSuccessfulSecondFactor');
153 153
         if // do we need to do secondFactor in interval, or even every time?
154
-           // we skip only if an interval is configured AND we did successfully authenticate,
155
-           // AND are within the interval
154
+            // we skip only if an interval is configured AND we did successfully authenticate,
155
+            // AND are within the interval
156 156
         (
157 157
                 $this->SecondFactorMaxAge >= 0 && $lastSecondFactor instanceof \DateTime
158 158
         ) {
Please login to merge, or discard this patch.