We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db62b4d commit 033b61bCopy full SHA for 033b61b
src/Domain/User/Factories/UserFactory.php
@@ -11,7 +11,7 @@
11
use Shared\Enums\UserStatus;
12
13
/**
14
- * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\User>
+ * @extends \Illuminate\Database\Eloquent\Factories\Factory<\Domain\User\Entities\User>
15
*/
16
class UserFactory extends Factory
17
{
@@ -20,7 +20,13 @@ class UserFactory extends Factory
20
21
protected static ?string $password = null;
22
23
+ /**
24
+ * The model that the factory corresponds to.
25
+ *
26
+ * @var class-string<User>
27
+ */
28
protected $model = User::class;
29
+
30
31
* Define the model's default state.
32
*
0 commit comments