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
Push — master ( b96dc4...ba3ef4 )
by Cees-Jan
07:47
created

NamedBlob::mode()   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\Git;
4
5
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
6
use ApiClients\Foundation\Resource\AbstractResource;
7
8
/**
9
 * @EmptyResource("Git\EmptyNamedBlob")
10
 */
11
abstract class NamedBlob extends AbstractResource implements NamedBlobInterface
12
{
13
    /**
14
     * @var string
15
     */
16
    protected $path;
17
18
    /**
19
     * @var string
20
     */
21
    protected $mode;
22
23
    /**
24
     * @var string
25
     */
26
    protected $type;
27
28
    /**
29
     * @var int
30
     */
31
    protected $size;
32
33
    /**
34
     * @var string
35
     */
36
    protected $sha;
37
38
    /**
39
     * @var string
40
     */
41
    protected $url;
42
43
    /**
44
     * @return string
45
     */
46
    public function path(): string
47
    {
48
        return $this->path;
49
    }
50
51
    /**
52
     * @return string
53
     */
54
    public function mode(): string
55
    {
56
        return $this->mode;
57
    }
58
59
    /**
60
     * @return string
61
     */
62
    public function type(): string
63
    {
64
        return $this->type;
65
    }
66
67
    /**
68
     * @return int
69
     */
70
    public function size(): int
71
    {
72
        return $this->size;
73
    }
74
75
    /**
76
     * @return string
77
     */
78
    public function sha(): string
79
    {
80
        return $this->sha;
81
    }
82
83
    /**
84
     * @return string
85
     */
86
    public function url(): string
87
    {
88
        return $this->url;
89
    }
90
}
91