| Total Complexity | 3 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class SendVerificationCodeEmail extends Notification implements ShouldQueue |
||
| 11 | { |
||
| 12 | use Queueable; |
||
| 13 | |||
| 14 | protected $code; |
||
| 15 | protected $user; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Create a new notification instance. |
||
| 19 | */ |
||
| 20 | public function __construct($user, $code) |
||
| 21 | { |
||
| 22 | $this->code = $code; |
||
| 23 | $this->user = $user; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Get the notification's delivery channels. |
||
| 28 | * |
||
| 29 | * @param mixed $notifiable |
||
| 30 | * |
||
| 31 | * @return array |
||
| 32 | */ |
||
| 33 | public function via($notifiable) |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Get the mail representation of the notification. |
||
| 40 | * |
||
| 41 | * @param mixed $notifiable |
||
| 42 | * |
||
| 43 | * @return \Illuminate\Notifications\Messages\MailMessage |
||
| 44 | */ |
||
| 45 | public function toMail($notifiable) |
||
| 57 | } |
||
| 58 | } |
||
| 59 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.