Issues (1)

src/HablameNotification.php (1 issue)

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
The parameter $notifiable is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

14
    public function via(/** @scrutinizer ignore-unused */ $notifiable): array

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
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