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 ( 2f10be...8a7e89 )
by Freek
04:01 queued 02:04
created

CertificateCheckFailed::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 3
1
<?php
2
3
namespace Spatie\UptimeMonitor\Events;
4
5
use Illuminate\Contracts\Queue\ShouldQueue;
6
use Spatie\SslCertificate\SslCertificate;
7
use Spatie\UptimeMonitor\Models\Monitor;
8
9
class CertificateCheckFailed implements ShouldQueue
10
{
11
    /** @var \Spatie\UptimeMonitor\Models\Monitor */
12
    public $monitor;
13
14
    /** @var string */
15
    public $reason;
16
17
    /** @var \Spatie\SslCertificate\SslCertificate|null */
18
    public $certificate;
19
20
    public function __construct(Monitor $monitor, string $reason, SslCertificate $certificate = null)
21
    {
22
        $this->monitor = $monitor;
23
24
        $this->reason = $reason;
25
26
        $this->certificate = $certificate;
27
    }
28
}
29