GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( c6944f...11f4b5 )
by Freek
05:17
created

BaseNotification::getBackupDestination()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 10
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 10
rs 9.4285
cc 3
eloc 5
nc 3
nop 0
1
<?php
2
3
namespace Spatie\UptimeMonitor\Notifications;
4
5
use Illuminate\Notifications\Notification;
6
use Spatie\UptimeMonitor\Models\UptimeMonitor;
7
8
abstract class BaseNotification extends Notification
9
{
10
    /**
11
     * Get the notification's delivery channels.
12
     *
13
     * @param  mixed  $notifiable
14
     * @return array
15
     */
16
    public function via($notifiable)
0 ignored issues
show
Unused Code introduced by
The parameter $notifiable is not used and could be removed.

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

Loading history...
17
    {
18
        return config('laravel-uptime-monitor.notifications.notifications.'.static::class);
19
    }
20
21
    public abstract function isStillRelevant(): bool;
0 ignored issues
show
Coding Style introduced by
The abstract declaration must precede the visibility declaration
Loading history...
22
}
23