-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Hi there.
As a temporary solution, I removed the return type of the User->user2fa method like below.
Yet, this needs clarifying, which HasOne should it be, because it tried the Eloquent HasOne, and App namespace has no HasOne.
Temporary solution:
/**
* @return HasOne
*/
public function user2fa(): BelongsToOne
{
return $this->hasOne(User2fa::class);
}
to
public function user2fa()
{
return $this->hasOne(User2fa::class);
}
Metadata
Metadata
Assignees
Labels
No labels