Skip to content

Commit ab1ebd1

Browse files
authored
fix: fix facade signature (#502)
1 parent df9f299 commit ab1ebd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Facades/Webauthn.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
/**
88
* @method static \Illuminate\Database\Eloquent\Model create(\Illuminate\Contracts\Auth\Authenticatable $user, string $keyName, \Webauthn\PublicKeyCredentialSource $publicKeyCredentialSource)
9-
* @method static void login(\Illuminate\Contracts\Auth\Authenticatable $user)
9+
* @method static void login(?\Illuminate\Contracts\Auth\Authenticatable $user)
1010
* @method static void logout()
1111
* @method static bool check()
12-
* @method static \LaravelWebauthn\Services\Webauthn\PublicKeyCredentialRequestOptions prepareAssertion(\Illuminate\Contracts\Auth\Authenticatable $user)
12+
* @method static \LaravelWebauthn\Services\Webauthn\PublicKeyCredentialRequestOptions prepareAssertion(?\Illuminate\Contracts\Auth\Authenticatable $user)
1313
* @method static bool validateAssertion(\Illuminate\Contracts\Auth\Authenticatable $user, array $data)
1414
* @method static \LaravelWebauthn\Services\Webauthn\PublicKeyCredentialCreationOptions prepareAttestation(\Illuminate\Contracts\Auth\Authenticatable $user)
1515
* @method static \Illuminate\Database\Eloquent\Model validateAttestation(\Illuminate\Contracts\Auth\Authenticatable $user, array $data, string $keyName)

0 commit comments

Comments
 (0)