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 (#65)
by Cees-Jan
14:43 queued 04:45
created

Rb::ref()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\Github\Resource\Repository\PullRequest;
4
5
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
6
use ApiClients\Foundation\Hydrator\Annotation\Nested;
7
use ApiClients\Foundation\Resource\AbstractResource;
8
9
/**
10
 * @Nested(
11
 *     user="User",
12
 *     repo="Repository"
13
 * )
14
 * @EmptyResource("Repository\PullRequest\EmptyRb")
15
 */
16
abstract class Rb extends AbstractResource implements RbInterface
17
{
18
    /**
19
     * @var string
20
     */
21
    protected $label;
22
23
    /**
24
     * @var string
25
     */
26
    protected $ref;
27
28
    /**
29
     * @var string
30
     */
31
    protected $sha;
32
33
    /**
34
     * @var User
35
     */
36
    protected $user;
37
38
    /**
39
     * @var Repository
40
     */
41
    protected $repo;
42
43
    /**
44
     * @return string
45
     */
46
    public function label(): string
47
    {
48
        return $this->label;
49
    }
50
51
    /**
52
     * @return string
53
     */
54
    public function ref(): string
55
    {
56
        return $this->ref;
57
    }
58
59
    /**
60
     * @return string
61
     */
62
    public function sha(): string
63
    {
64
        return $this->sha;
65
    }
66
67
    /**
68
     * @return User
69
     */
70
    public function user(): User
71
    {
72
        return $this->user;
73
    }
74
75
    /**
76
     * @return Repository
77
     */
78
    public function repo(): Repository
79
    {
80
        return $this->repo;
81
    }
82
}
83