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.

Video::getMimeType()   A
last analyzed

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
namespace Teebot\Api\Entity;
4
5
class Video extends AbstractEntity
6
{
7
    const ENTITY_TYPE = 'Video';
8
9
    protected $file_id;
10
11
    protected $width;
12
13
    protected $height;
14
15
    protected $duration;
16
17
    protected $thumb;
18
19
    protected $mime_type;
20
21
    protected $file_size;
22
23
    protected $builtInEntities = [
24
        'thumb' => PhotoSize::class
25
    ];
26
27
    /**
28
     * @return mixed
29
     */
30
    public function getFileId()
31
    {
32
        return $this->file_id;
33
    }
34
35
    /**
36
     * @return mixed
37
     */
38
    public function getWidth()
39
    {
40
        return $this->width;
41
    }
42
43
    /**
44
     * @return mixed
45
     */
46
    public function getHeight()
47
    {
48
        return $this->height;
49
    }
50
51
    /**
52
     * @return mixed
53
     */
54
    public function getDuration()
55
    {
56
        return $this->duration;
57
    }
58
59
    /**
60
     * @return mixed
61
     */
62
    public function getThumb()
63
    {
64
        return $this->thumb;
65
    }
66
67
    /**
68
     * @return mixed
69
     */
70
    public function getMimeType()
71
    {
72
        return $this->mime_type;
73
    }
74
75
    /**
76
     * @return mixed
77
     */
78
    public function getFileSize()
79
    {
80
        return $this->file_size;
81
    }
82
}
83