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 ( 64a210...2d6991 )
by Stan
02:42
created

PhotoSize   A

Complexity

Total Complexity 8

Size/Duplication

Total Lines 76
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 8
c 1
b 1
f 0
lcom 0
cbo 1
dl 0
loc 76
rs 10

8 Methods

Rating   Name   Duplication   Size   Complexity  
A getFileId() 0 4 1
A setFileId() 0 4 1
A getWidth() 0 4 1
A setWidth() 0 4 1
A getHeight() 0 4 1
A setHeight() 0 4 1
A getFileSize() 0 4 1
A setFileSize() 0 4 1
1
<?php
2
3
namespace Teebot\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