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