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
Pull Request — master (#27)
by Cees-Jan
01:59
created

SSHKey::id()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
declare(strict_types=1);
3
4
namespace WyriHaximus\Travis\Resource;
5
6
use WyriHaximus\ApiClient\Resource\TransportAwareTrait;
7
8
abstract class SSHKey implements SSHKeyInterface
9
{
10
    use TransportAwareTrait;
11
12
    /**
13
     * @var int
14
     */
15
    protected $id;
16
17
    /**
18
     * @var string
19
     */
20
    protected $description;
21
22
    /**
23
     * @var string
24
     */
25
    protected $fingerprint;
26
27
    /**
28
     * @return int
29
     */
30
    public function id() : int
31
    {
32
        return $this->id;
33
    }
34
35
    /**
36
     * @return string
37
     */
38
    public function description() : string
39
    {
40
        return $this->description;
41
    }
42
43
    /**
44
     * @return string
45
     */
46
    public function fingerprint() : string
47
    {
48
        return $this->fingerprint;
49
    }
50
}
51