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.

PhotoSize   A
last analyzed

Complexity

Total Complexity 8

Size/Duplication

Total Lines 74
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 74
rs 10
c 0
b 0
f 0
wmc 8

8 Methods

Rating   Name   Duplication   Size   Complexity  
A setHeight() 0 3 1
A getWidth() 0 3 1
A setWidth() 0 3 1
A getFileSize() 0 3 1
A getFileId() 0 3 1
A getHeight() 0 3 1
A setFileSize() 0 3 1
A setFileId() 0 3 1
1
<?php
2
3
namespace Teebot\Api\Entity;
4
5
class PhotoSize extends AbstractEntity
6
{
7
    const ENTITY_TYPE = 'PhotoSize';
8
9
    protected $file_id;
10
11
    protected $width;
12
13
    protected $height;
14
15
    protected $file_size;
16
17
    /**
18
     * @return mixed
19
     */
20
    public function getFileId()
21
    {
22
        return $this->file_id;
23
    }
24
25
    /**
26
     * @param mixed $file_id
27
     */
28
    public function setFileId($file_id)
29
    {
30
        $this->file_id = $file_id;
31
    }
32
33
    /**
34
     * @return mixed
35
     */
36
    public function getWidth()
37
    {
38
        return $this->width;
39
    }
40
41
    /**
42
     * @param mixed $width
43
     */
44
    public function setWidth($width)
45
    {
46
        $this->width = $width;
47
    }
48
49
    /**
50
     * @return mixed
51
     */
52
    public function getHeight()
53
    {
54
        return $this->height;
55
    }
56
57
    /**
58
     * @param mixed $height
59
     */
60
    public function setHeight($height)
61
    {
62
        $this->height = $height;
63
    }
64
65
    /**
66
     * @return mixed
67
     */
68
    public function getFileSize()
69
    {
70
        return $this->file_size;
71
    }
72
73
    /**
74
     * @param mixed $file_size
75
     */
76
    public function setFileSize($file_size)
77
    {
78
        $this->file_size = $file_size;
79
    }
80
}
81