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 ( e176e0...b96dc4 )
by Cees-Jan
09:42
created

Blob::url()   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\Collection;
6
use ApiClients\Foundation\Hydrator\Annotation\EmptyResource;
7
use ApiClients\Foundation\Resource\AbstractResource;
8
9
/**
10
 * @Collection(
11
 *     tree="Git\NamedBlob"
12
 * )
13
 * @EmptyResource("Git\EmptyBlob")
14
 */
15
abstract class Blob extends AbstractResource implements BlobInterface
16
{
17
    /**
18
     * @var string
19
     */
20
    protected $sha;
21
22
    /**
23
     * @var string
24
     */
25
    protected $url;
26
27
    /**
28
     * @var array
29
     */
30
    protected $tree;
31
32
    /**
33
     * @var bool
34
     */
35
    protected $truncated;
36
37
    /**
38
     * @return string
39
     */
40
    public function sha(): string
41
    {
42
        return $this->sha;
43
    }
44
45
    /**
46
     * @return string
47
     */
48
    public function url(): string
49
    {
50
        return $this->url;
51
    }
52
53
    /**
54
     * @return array
55
     */
56
    public function tree(): array
57
    {
58
        return $this->tree;
59
    }
60
61
    /**
62
     * @return bool
63
     */
64
    public function truncated(): bool
65
    {
66
        return $this->truncated;
67
    }
68
}
69