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 (#16)
by Cees-Jan
04:33
created

EmptyRate   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 26
c 0
b 0
f 0
ccs 6
cts 6
cp 1
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A limit() 0 4 1
A remaining() 0 4 1
A reset() 0 4 1
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\Github\Resource;
4
5
use ApiClients\Foundation\Resource\EmptyResourceInterface;
6
7
abstract class EmptyRate implements RateInterface, EmptyResourceInterface
8
{
9
    /**
10
     * @return int
11
     */
12 2
    public function limit() : int
13
    {
14 2
        return null;
15
    }
16
17
    /**
18
     * @return int
19
     */
20 2
    public function remaining() : int
21
    {
22 2
        return null;
23
    }
24
25
    /**
26
     * @return int
27
     */
28 2
    public function reset() : int
29
    {
30 2
        return null;
31
    }
32
}
33