mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
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 @@ use Illuminate\Notifications\Notifiable;
|
|||||||
|
|
||||||
class User extends Authenticatable
|
class User extends Authenticatable
|
||||||
{
|
{
|
||||||
|
/** @use HasFactory<\Database\Factories\UserFactory> */
|
||||||
use HasFactory, Notifiable;
|
use HasFactory, Notifiable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user