Refactor User model to use HasFactory trait and add type hint for UserFactory (#6453)
This commit is contained in:
@@ -9,6 +9,7 @@ use Illuminate\Notifications\Notifiable;
|
|||||||
|
|
||||||
class User extends Authenticatable
|
class User extends Authenticatable
|
||||||
{
|
{
|
||||||
|
/** @use HasFactory<\Database\Factories\UserFactory> */
|
||||||
use HasFactory, Notifiable;
|
use HasFactory, Notifiable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user