diff --git a/app/Containers/AppSection/Authentication/Mails/ForgotPassword.php b/app/Containers/AppSection/Authentication/Mails/ForgotPassword.php index 1e64f38c1..8a8b69718 100644 --- a/app/Containers/AppSection/Authentication/Mails/ForgotPassword.php +++ b/app/Containers/AppSection/Authentication/Mails/ForgotPassword.php @@ -2,8 +2,8 @@ namespace App\Containers\AppSection\Authentication\Mails; +use App\Containers\AppSection\User\Models\User; use App\Ship\Parents\Mails\Mail; -use App\Ship\Parents\Models\UserModel; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; @@ -12,10 +12,11 @@ class ForgotPassword extends Mail implements ShouldQueue use Queueable; public function __construct( - protected UserModel $recipient, + protected User $recipient, protected string $token, protected string $reseturl - ) { + ) + { } public function build(): static diff --git a/app/Containers/AppSection/Authentication/UI/API/Controllers/ResetPasswordController.php b/app/Containers/AppSection/Authentication/UI/API/Controllers/ResetPasswordController.php index 6e828ed7f..b356b4a62 100644 --- a/app/Containers/AppSection/Authentication/UI/API/Controllers/ResetPasswordController.php +++ b/app/Containers/AppSection/Authentication/UI/API/Controllers/ResetPasswordController.php @@ -13,7 +13,7 @@ class ResetPasswordController extends ApiController { /** - * @throws \App\Containers\AppSection\Authentication\Exceptions\InvalidResetPasswordTokenException + * @throws InvalidResetPasswordTokenException * @throws NotFoundException * @throws UpdateResourceFailedException */