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 ( a7befa...3e14ee )
by Cees-Jan
10:18
created

EmptyBranch   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 34
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A name() 0 4 1
A commit() 0 4 1
A protected() 0 4 1
A protectionUrl() 0 4 1
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\Github\Resource\Repository;
4
5
use ApiClients\Foundation\Resource\EmptyResourceInterface;
6
7
abstract class EmptyBranch implements BranchInterface, EmptyResourceInterface
8
{
9
    /**
10
     * @return string
11
     */
12
    public function name() : string
13
    {
14
        return null;
15
    }
16
17
    /**
18
     * @return Repository\Tree
19
     */
20
    public function commit() : Repository\Tree
21
    {
22
        return null;
23
    }
24
25
    /**
26
     * @return bool
27
     */
28
    public function protected() : bool
29
    {
30
        return null;
31
    }
32
33
    /**
34
     * @return string
35
     */
36
    public function protectionUrl() : string
37
    {
38
        return null;
39
    }
40
}
41