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 ( d3aed5...e716ac )
by Cees-Jan
19:23 queued 09:31
created

Files::codeOfConduct()   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 declare(strict_types=1);
2
3
namespace ApiClients\Client\Github\Resource\Repository\CommunityHealth;
4
5
use ApiClients\Foundation\Hydrator\Annotations\EmptyResource;
6
use ApiClients\Foundation\Hydrator\Annotations\Nested;
7
use ApiClients\Foundation\Resource\AbstractResource;
8
9
/**
10
 * @Nested(
11
 *     code_of_conduct="CodeOfConduct",
12
 *     contributing="Url",
13
 *     license="License",
14
 *     readme="Url"
15
 * )
16
 * @EmptyResource("Repository\CommunityHealth\EmptyFiles")
17
 */
18
abstract class Files extends AbstractResource implements FilesInterface
19
{
20
    /**
21
     * @var CodeOfConduct
22
     */
23
    protected $code_of_conduct;
24
25
    /**
26
     * @var Url
27
     */
28
    protected $contributing;
29
30
    /**
31
     * @var License
32
     */
33
    protected $license;
34
35
    /**
36
     * @var Url
37
     */
38
    protected $readme;
39
40
    /**
41
     * @return CodeOfConduct
42
     */
43
    public function codeOfConduct() : CodeOfConduct
44
    {
45
        return $this->code_of_conduct;
46
    }
47
48
    /**
49
     * @return Url
50
     */
51
    public function contributing() : Url
52
    {
53
        return $this->contributing;
54
    }
55
56
    /**
57
     * @return License
58
     */
59
    public function license() : License
60
    {
61
        return $this->license;
62
    }
63
64
    /**
65
     * @return Url
66
     */
67
    public function readme() : Url
68
    {
69
        return $this->readme;
70
    }
71
}
72