From 6eb85636971d1beac18695eb5fbc930aefda8187 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 13 Aug 2023 20:00:26 +1000 Subject: [PATCH] Fixes for types --- app/Jobs/User/UserEmailChanged.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Jobs/User/UserEmailChanged.php b/app/Jobs/User/UserEmailChanged.php index c397f1ae65dd..f49718c916c4 100644 --- a/app/Jobs/User/UserEmailChanged.php +++ b/app/Jobs/User/UserEmailChanged.php @@ -36,10 +36,10 @@ class UserEmailChanged implements ShouldQueue * Create a new job instance. * * @param \App\Models\User $new_user - * @param \App\Models\User $old_user + * @param \stdClass $old_user * @param \App\Models\Company $company */ - public function __construct(protected User $new_user, protected User $old_user, protected Company $company) + public function __construct(protected User $new_user, protected \stdClass $old_user, protected Company $company) { $this->settings = $this->company->settings; }