Fixed static analyis issues

This commit is contained in:
Jan Böhmer 2022-10-05 21:59:42 +02:00
parent 9e837b6c80
commit c1cb045960
3 changed files with 5 additions and 124 deletions

View file

@ -82,7 +82,7 @@ class WebauthnKey extends BasePublicKeyCredentialSource
public static function fromRegistration(BasePublicKeyCredentialSource $registration): self
{
return new static(
return new self(
$registration->getPublicKeyCredentialId(),
$registration->getType(),
$registration->getTransports(),