| 1 | <?php |
||
| 9 | class ResetPasswordNotification extends Notification implements ShouldQueue |
||
| 10 | { |
||
| 11 | use Queueable; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * The password reset token. |
||
| 15 | * |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | public $token; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Create a notification instance. |
||
| 22 | * |
||
| 23 | * @param string $token |
||
| 24 | */ |
||
| 25 | public function __construct($token) |
||
| 26 | { |
||
| 27 | $this->token = $token; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Get the notification's channels. |
||
| 32 | * |
||
| 33 | * @param mixed $notifiable |
||
| 34 | * |
||
| 35 | * @return array |
||
| 36 | */ |
||
| 37 | public function via($notifiable): array |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Build the mail representation of the notification. |
||
| 44 | * |
||
| 45 | * @param mixed $notifiable |
||
| 46 | * |
||
| 47 | * @return \Illuminate\Notifications\Messages\MailMessage |
||
| 48 | */ |
||
| 49 | public function toMail($notifiable): MailMessage |
||
| 58 | } |
||
| 59 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.