Skip to content

Commit 9915831

Browse files
authored
Guess database factory model by default (laravel#5713)
1 parent 8f63479 commit 9915831

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

database/factories/UserFactory.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,11 @@
22

33
namespace Database\Factories;
44

5-
use App\Models\User;
65
use Illuminate\Database\Eloquent\Factories\Factory;
76
use Illuminate\Support\Str;
87

98
class UserFactory extends Factory
109
{
11-
/**
12-
* The name of the factory's corresponding model.
13-
*
14-
* @var string
15-
*/
16-
protected $model = User::class;
17-
1810
/**
1911
* Define the model's default state.
2012
*

0 commit comments

Comments
 (0)