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.

Issue   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 24
c 0
b 0
f 0
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A message() 0 4 1
A attribute() 0 4 1
1
<?php
2
3
namespace Spatie\BpostAddressWebservice\Issues;
4
5
abstract class Issue
6
{
7
    /** @var string */
8
    protected $message;
9
10
    /** @var string */
11
    protected $attribute;
12
13
    public function __construct(string $message, string $attribute)
14
    {
15
        $this->message = $message;
16
        $this->attribute = $attribute;
17
    }
18
19
    public function message(): string
20
    {
21
        return $this->message;
22
    }
23
24
    public function attribute(): string
25
    {
26
        return $this->attribute;
27
    }
28
}
29