mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
add type to UserFactory for generic parent class
This commit is contained in:
parent
e92f1e9729
commit
7bff7c6c61
@ -2,9 +2,13 @@
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Models\User;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
/**
|
||||
* @implements Factory<User>
|
||||
*/
|
||||
class UserFactory extends Factory
|
||||
{
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user