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 4b72a4b commit c725327
Showing 1 changed file with 1 addition and 1 deletion.
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 c725327

Please sign in to comment.