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 (#33)
by Cees-Jan
44:41 queued 34:46
created

Account::name()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
declare(strict_types=1);
3
4
namespace WyriHaximus\Travis\Resource;
5
6
use WyriHaximus\ApiClient\Resource\TransportAwareTrait;
7
8
abstract class Account implements AccountInterface
9
{
10
    use TransportAwareTrait;
11
12
    /**
13
     * @var int
14
     */
15
    protected $id;
16
17
    /**
18
     * @var string
19
     */
20
    protected $name;
21
22
    /**
23
     * @var string
24
     */
25
    protected $type;
26
27
    /**
28
     * @var string
29
     */
30
    protected $login;
31
32
    /**
33
     * @var int
34
     */
35
    protected $repos_count;
36
37
    /**
38
     * @return int
39
     */
40
    public function id() : int
41
    {
42
        return $this->id;
43
    }
44
45
    /**
46
     * @return string
47
     */
48
    public function name() : string
49
    {
50
        return $this->name;
51
    }
52
53
    /**
54
     * @return string
55
     */
56
    public function type() : string
57
    {
58
        return $this->type;
59
    }
60
61
    /**
62
     * @return string
63
     */
64
    public function login() : string
65
    {
66
        return $this->login;
67
    }
68
69
    /**
70
     * @return int
71
     */
72
    public function reposCount() : int
73
    {
74
        return $this->repos_count;
75
    }
76
}
77