From c9c8fb9ee73266b2bb4183603b553b2ee9030252 Mon Sep 17 00:00:00 2001 From: Punyapal Shah <53343069+MrPunyapal@users.noreply.github.com> Date: Thu, 19 Sep 2024 16:52:19 +0530 Subject: [PATCH] Refactor User model to use HasFactory trait and add type hint for UserFactory (#6453) --- app/Models/User.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Models/User.php b/app/Models/User.php index def621f47..3dfbd80eb 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -9,6 +9,7 @@ use Illuminate\Notifications\Notifiable; class User extends Authenticatable { + /** @use HasFactory<\Database\Factories\UserFactory> */ use HasFactory, Notifiable; /**