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; }