| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class PinChange extends Notification implements ShouldQueue |
||
| 11 | { |
||
| 12 | use Queueable; |
||
| 13 | |||
| 14 | public function via($notifiable) |
||
|
|
|||
| 15 | { |
||
| 16 | return ['mail']; |
||
| 17 | } |
||
| 18 | |||
| 19 | public function toMail($notifiable) |
||
| 20 | { |
||
| 21 | return (new MailMessage) |
||
| 22 | ->subject(trans('requirepin::pin.notify.subject')) |
||
| 23 | ->line(trans('requirepin::pin.notify.introduction')) |
||
| 24 | ->line(trans('requirepin::pin.notify.message')) |
||
| 25 | ->action(trans('requirepin::pin.notify.action'), url(config('requirepin.change_pin_route'))) |
||
| 26 | ->line(trans('requirepin::pin.notify.complimentary_close')); |
||
| 27 | } |
||
| 28 | |||
| 29 | public function toArray($notifiable) |
||
| 32 | // |
||
| 33 | ]; |
||
| 34 | } |
||
| 36 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.