Skip to content

Commit 6ad6895

Browse files
committed
fixes
1 parent 18389fc commit 6ad6895

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Models/WebauthnKey.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class WebauthnKey extends Model
1919
/**
2020
* The attributes that aren't mass assignable.
2121
*
22-
* @var string[]|bool
22+
* @var array<string>
2323
*/
2424
protected $guarded = ['id'];
2525

src/Services/Webauthn.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,8 @@ public static function enabled(User $user): bool
180180

181181
/**
182182
* Test if the user can register a new key.
183+
*
184+
* @psalm-suppress PossiblyUnusedParam
183185
*/
184186
public static function canRegister(User $user): bool
185187
{

0 commit comments

Comments
 (0)