Fixes static analysis
This commit is contained in:
@@ -23,6 +23,7 @@ class AddUserDescriptor
|
||||
$config = $attestable->user->webAuthnData();
|
||||
|
||||
// Create a new User UUID if it doesn't existe already in the credentials.
|
||||
// @phpstan-ignore-next-line
|
||||
$config['id'] = $attestable->user->webAuthnCredentials()->value('user_id')
|
||||
?: Str::uuid()->getHex()->toString();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user