mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Fixed static analyis issues
This commit is contained in:
parent
9e837b6c80
commit
c1cb045960
3 changed files with 5 additions and 124 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue