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.
Passed
Pull Request — master (#60)
by
unknown
02:54
created

WebhookCallEvent   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 48
Duplicated Lines 0 %

Importance

Changes 4
Bugs 0 Features 0
Metric Value
eloc 23
c 4
b 0
f 0
dl 0
loc 48
rs 10
wmc 1
1
<?php
2
3
namespace Spatie\WebhookServer\Events;
4
5
use GuzzleHttp\Psr7\Response;
6
use GuzzleHttp\TransferStats;
7
8
abstract class WebhookCallEvent
9
{
10
    public string $httpVerb;
11
12
    public string $webhookUrl;
13
14
    public array $payload;
15
16
    public array $headers;
17
18
    public array $meta;
19
20
    public array $tags;
21
22
    public int $attempt;
23
24
    public ?Response $response;
25
26
    public ?TransferStats $stats;
27
28
    public ?string $errorType;
29
30
    public ?string $errorMessage;
31
32
    public string $uuid;
33
34
    public function __construct(
35
        string $httpVerb,
36
        string $webhookUrl,
37
        array $payload,
38
        array $headers,
39
        array $meta,
40
        array $tags,
41
        int $attempt,
42
        ?Response $response,
43
        ?string $errorType,
44
        ?string $errorMessage,
45
        string $uuid,
46
        ?TransferStats $stats
47
    ) {
48
        $this->httpVerb = $httpVerb;
49
        $this->webhookUrl = $webhookUrl;
50
        $this->payload = $payload;
51
        $this->headers = $headers;
52
        $this->meta = $meta;
53
        $this->tags = $tags;
54
        $this->attempt = $attempt;
55
        $this->response = $response;
56
        $this->errorType = $errorType;
57
        $this->errorMessage = $errorMessage;
58
        $this->uuid = $uuid;
59
        $this->stats = $stats
60
    }
0 ignored issues
show
Bug introduced by
A parse error occurred: Syntax error, unexpected '}' on line 60 at column 4
Loading history...
61
}
62