Guess database factory model by default (#5713)

This commit is contained in:
Nuno Maduro
2021-10-22 19:11:06 +01:00
committed by GitHub
parent 8f63479d44
commit 9915831d22

View File

@@ -2,19 +2,11 @@
namespace Database\Factories;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
class UserFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = User::class;
/**
* Define the model's default state.
*