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 ( b71509...a4a6e2 )
by Cees-Jan
07:54
created

EmptyFile::type()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 4
Ratio 100 %

Importance

Changes 0
Metric Value
dl 4
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\Contents;
4
5
use ApiClients\Foundation\Resource\EmptyResourceInterface;
6
7 View Code Duplication
abstract class EmptyFile implements FileInterface, EmptyResourceInterface
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
8
{
9
    /**
10
     * @return string
11
     */
12
    public function type() : string
13
    {
14
        return null;
15
    }
16
17
    /**
18
     * @return string
19
     */
20
    public function encoding() : string
21
    {
22
        return null;
23
    }
24
25
    /**
26
     * @return int
27
     */
28
    public function size() : int
29
    {
30
        return null;
31
    }
32
33
    /**
34
     * @return string
35
     */
36
    public function name() : string
37
    {
38
        return null;
39
    }
40
41
    /**
42
     * @return string
43
     */
44
    public function path() : string
45
    {
46
        return null;
47
    }
48
49
    /**
50
     * @return string
51
     */
52
    public function content() : string
53
    {
54
        return null;
55
    }
56
57
    /**
58
     * @return string
59
     */
60
    public function sha() : string
61
    {
62
        return null;
63
    }
64
65
    /**
66
     * @return string
67
     */
68
    public function url() : string
69
    {
70
        return null;
71
    }
72
73
    /**
74
     * @return string
75
     */
76
    public function gitUrl() : string
77
    {
78
        return null;
79
    }
80
81
    /**
82
     * @return string
83
     */
84
    public function htmlUrl() : string
85
    {
86
        return null;
87
    }
88
89
    /**
90
     * @return string
91
     */
92
    public function downloadUrl() : string
93
    {
94
        return null;
95
    }
96
97
    /**
98
     * @return Contents\Links
99
     */
100
    public function links() : Contents\Links
101
    {
102
        return null;
103
    }
104
}
105