Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed Dec 12, 2021
1 parent 7b42b1f commit e228180
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class ResetPasswordController extends ApiController
{
/**
* @throws \App\Containers\AppSection\Authentication\Exceptions\InvalidResetPasswordTokenException
* @throws InvalidResetPasswordTokenException
* @throws NotFoundException
* @throws UpdateResourceFailedException
*/
Expand Down

0 comments on commit e228180

Please sign in to comment.