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 (#1)
by Cees-Jan
03:29
created

EmptyCommit::url()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
ccs 2
cts 2
cp 1
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\Github\Resource\Git;
4
5
use ApiClients\Client\Github\Resource\Tree;
6
use ApiClients\Foundation\Resource\EmptyResourceInterface;
7
8
abstract class EmptyCommit implements CommitInterface, EmptyResourceInterface
9
{
10
    /**
11
     * @return string
12
     */
13 2
    public function url() : string
14
    {
15 2
        return null;
16
    }
17
18
    /**
19
     * @return User
20
     */
21 2
    public function author() : User
22
    {
23 2
        return null;
24
    }
25
26
    /**
27
     * @return User
28
     */
29 2
    public function comitter() : User
30
    {
31 2
        return null;
32
    }
33
34
    /**
35
     * @return string
36
     */
37 2
    public function message() : string
38
    {
39 2
        return null;
40
    }
41
42
    /**
43
     * @return Tree
44
     */
45 2
    public function tree() : Tree
46
    {
47 2
        return null;
48
    }
49
50
    /**
51
     * @return int
52
     */
53 2
    public function commentCount() : int
54
    {
55 2
        return null;
56
    }
57
58
    /**
59
     * @return string
60
     */
61 2
    public function protectionUrl() : string
62
    {
63 2
        return null;
64
    }
65
}
66