| Total Complexity | 3 |
| Total Lines | 48 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class ResetPasswordNotification extends Notification implements ShouldQueue |
||
| 13 | { |
||
| 14 | use Queueable; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * The password reset token. |
||
| 18 | * |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | public $token; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Create a notification instance. |
||
| 25 | * |
||
| 26 | * @param string $token |
||
| 27 | */ |
||
| 28 | public function __construct($token) |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Get the notification's channels. |
||
| 35 | * |
||
| 36 | * @param mixed $notifiable |
||
| 37 | * |
||
| 38 | * @return array |
||
| 39 | */ |
||
| 40 | public function via($notifiable): array |
||
|
|
|||
| 41 | { |
||
| 42 | return ['mail']; |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Build the mail representation of the notification. |
||
| 47 | * |
||
| 48 | * @param mixed $notifiable |
||
| 49 | * |
||
| 50 | * @return MailMessage |
||
| 51 | */ |
||
| 52 | public function toMail($notifiable): MailMessage |
||
| 60 | } |
||
| 61 | } |
||
| 62 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.