1 | <?php |
||
2 | |||
3 | namespace Andreshg112\HablameSms; |
||
4 | |||
5 | use Illuminate\Notifications\Notification; |
||
6 | |||
7 | abstract class HablameNotification extends Notification |
||
8 | { |
||
9 | /** |
||
10 | * Get the notification's delivery channels. |
||
11 | * |
||
12 | * @param \Illuminate\Notifications\Notifiable $notifiable |
||
13 | */ |
||
14 | public function via($notifiable): array |
||
0 ignored issues
–
show
|
|||
15 | { |
||
16 | return [HablameChannel::class]; |
||
17 | } |
||
18 | |||
19 | /** |
||
20 | * Returns the SMS(s) to send through Háblame SMS. |
||
21 | * |
||
22 | * @param \Illuminate\Notifications\Notifiable $notifiable |
||
23 | */ |
||
24 | abstract public function toHablameNotification($notifiable): HablameMessage; |
||
25 | } |
||
26 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.