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 ( faea90...d208b1 )
by Odiseo
02:49
created

Image::getId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Odiseo\BlogBundle\Model;
6
7
abstract class Image implements ImageInterface
8
{
9
    /**
10
     * @var mixed
11
     */
12
    protected $id;
13
14
    /**
15
     * @var string|null
16
     */
17
    protected $type;
18
19
    /**
20
     * @var \SplFileInfo|null
21
     */
22
    protected $file;
23
24
    /**
25
     * @var string|null
26
     */
27
    protected $path;
28
29
    /**
30
     * @var object|null
31
     */
32
    protected $owner;
33
34
    /**
35
     * @return int
36
     */
37
    public function getId()
38
    {
39
        return $this->id;
40
    }
41
42
    /**
43
     * {@inheritdoc}
44
     */
45
    public function getType(): ?string
46
    {
47
        return $this->type;
48
    }
49
50
    /**
51
     * {@inheritdoc}
52
     */
53
    public function setType(?string $type): void
54
    {
55
        $this->type = $type;
56
    }
57
58
    /**
59
     * {@inheritdoc}
60
     */
61
    public function getFile(): ?\SplFileInfo
62
    {
63
        return $this->file;
64
    }
65
66
    /**
67
     * {@inheritdoc}
68
     */
69
    public function setFile(?\SplFileInfo $file): void
70
    {
71
        $this->file = $file;
72
    }
73
74
    /**
75
     * {@inheritdoc}
76
     */
77
    public function hasFile(): bool
78
    {
79
        return null !== $this->file;
80
    }
81
82
    /**
83
     * {@inheritdoc}
84
     */
85
    public function getPath(): ?string
86
    {
87
        return $this->path;
88
    }
89
90
    /**
91
     * {@inheritdoc}
92
     */
93
    public function setPath(?string $path): void
94
    {
95
        $this->path = $path;
96
    }
97
98
    /**
99
     * {@inheritdoc}
100
     */
101
    public function hasPath(): bool
102
    {
103
        return null !== $this->path;
104
    }
105
106
    /**
107
     * {@inheritdoc}
108
     */
109
    public function getOwner()
110
    {
111
        return $this->owner;
112
    }
113
114
    /**
115
     * {@inheritdoc}
116
     */
117
    public function setOwner($owner): void
118
    {
119
        $this->owner = $owner;
120
    }
121
}
122