Skip to content

Commit

Permalink
fix: detect realType AuthenticatorAttestationResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
joostdebruijn committed Feb 25, 2024
1 parent dee648c commit ac1be6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Denormalizer/AuthenticatorResponseDenormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function denormalize(mixed $data, string $type, string $format = null, ar
}

$realType = match (true) {
! array_key_exists('authenticatorData', $data) && ! array_key_exists(
array_key_exists('attestationObject', $data) && ! array_key_exists(
'signature',
$data
) => AuthenticatorAttestationResponse::class,
Expand Down

0 comments on commit ac1be6b

Please sign in to comment.