Passed
Push — master ( 167f1e...73f579 )
by Tim
02:19
created
src/WebAuthn/WebAuthnRegistrationEvent.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -659,8 +659,8 @@
 block discarded – undo
659 659
     }
660 660
 
661 661
         /**
662
-     * @return string
663
-     */
662
+         * @return string
663
+         */
664 664
     public function getAttestationLevel() {
665 665
         return $this->AAGUIDAssurance;
666 666
     }
Please login to merge, or discard this patch.
src/Controller/AuthProcess.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
             base64_decode($request->request->get('client_data_raw')),
161 161
             $oneToken[0],
162 162
             $oneToken[1],
163
-            (int)$oneToken[4], // algo
163
+            (int) $oneToken[4], // algo
164 164
             base64_decode($request->request->get('signature')),
165 165
             $debugEnabled
166 166
         );
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
 
217 217
         if ($debugEnabled) {
218 218
             $response = new RunnableResponse(
219
-                    function (WebAuthnAuthenticationEvent $authObject, array $state) {
219
+                    function(WebAuthnAuthenticationEvent $authObject, array $state) {
220 220
                         echo $authObject->getDebugBuffer();
221 221
                         echo $authObject->getValidateBuffer();
222 222
                         echo "Debug mode, not continuing to " . ($state['FIDO2WantsRegister'] ? "credential registration page." : "destination.");
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
              * In passwordless, we're on our own. The one thing we know is the
241 241
              * username.
242 242
              */
243
-            $state['Attributes'][$state['FIDO2AttributeStoringUsername']] = [ $state['FIDO2Username'] ];
243
+            $state['Attributes'][$state['FIDO2AttributeStoringUsername']] = [$state['FIDO2Username']];
244 244
             // now properly return our final state to the framework
245 245
             Source::completeAuth($state);
246 246
         }
Please login to merge, or discard this patch.