Passed
Branch master (1a26c1)
by Stefan
17:14
created
src/WebAuthn/WebAuthnRegistrationEvent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -496,7 +496,7 @@  discard block
 block discarded – undo
496 496
     }
497 497
 
498 498
     // Keymaster 3 - KeyMint ???
499
-    private const ORIGINS_3 = [ // https://source.android.com/docs/security/features/keystore/tags#origin
499
+    private const ORIGINS_3 = [// https://source.android.com/docs/security/features/keystore/tags#origin
500 500
         0 => "GENERATED",
501 501
         1 => "DERIVED",
502 502
         2 => "IMPORTED",
@@ -711,7 +711,7 @@  discard block
 block discarded – undo
711 711
          * STEP 13 of the validation procedure in § 7.1 of the spec: is the algorithm the expected one?
712 712
          */
713 713
         if (in_array($arrayPK['3'], self::PK_ALGORITHM)) { // we requested -7 or -257, so want to see it here
714
-            $this->algo = (int)$arrayPK['3'];
714
+            $this->algo = (int) $arrayPK['3'];
715 715
             $this->pass("Public Key Algorithm is expected (" . implode(' or ', WebAuthnRegistrationEvent::PK_ALGORITHM) . ").");
716 716
         } else {
717 717
             $this->fail("Public Key Algorithm mismatch!");
Please login to merge, or discard this patch.