Passed
Push — master ( 107510...5c2740 )
by Stefan
03:43
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
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
             }
110 110
             return self::STATE_AUTH_ALLOWMGMT;
111 111
         } else { // in inflow, allow to check the management box; otherwise,
112
-                 // only auth
112
+                    // only auth
113 113
             $moduleConfig = Configuration::getOptionalConfig('module_webauthn.php')->toArray();
114 114
             return $moduleConfig['registration']['use_inflow_registration'] ? self::STATE_AUTH_ALLOWMGMT : self::STATE_AUTH_NOMGMT;
115 115
         }
Please login to merge, or discard this patch.
src/Auth/Process/WebAuthn.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
         $session = Session::getSessionFromRequest();
146 146
         $lastSecondFactor = $session->getData("DateTime", 'LastSuccessfulSecondFactor');
147 147
         if // do we need to do secondFactor in interval, or even every time?
148
-           // we skip only if an interval is configured AND we did successfully authenticate, AND are within the interval
148
+            // we skip only if an interval is configured AND we did successfully authenticate, AND are within the interval
149 149
         (
150 150
                 $this->SecondFactorMaxAge >= 0 && // 
151 151
                 (
Please login to merge, or discard this patch.