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 ( 682f51...d8d546 )
by Stan
03:16
created

InlineQueryResultMpeg4Gif::getCaption()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Teebot\Entity\Inline\Result;
4
5
class InlineQueryResultMpeg4Gif extends InlineQueryResultAbstract
6
{
7
    const ENTITY_TYPE = 'InlineQueryResultMpeg4Gif';
8
9
    const RESULT_TYPE = 'mpeg4_gif';
10
11
    protected $mpeg4_url;
12
13
    protected $mpeg4_width;
14
15
    protected $mpeg4_height;
16
17
    protected $caption;
18
19
    protected $supportedProperties = [
20
        'type'                  => true,
21
        'id'                    => true,
22
        'mpeg4_url'             => true,
23
        'mpeg4_width'           => false,
24
        'mpeg4_height'          => false,
25
        'thumb_url'             => false,
26
        'title'                 => false,
27
        'caption'               => false,
28
        'reply_markup'          => false,
29
        'input_message_content' => true,
30
    ];
31
32
    /**
33
     * @return mixed
34
     */
35
    public function getMpeg4Url()
36
    {
37
        return $this->mpeg4_url;
38
    }
39
40
    /**
41
     * @param mixed $mpeg4_url
42
     *
43
     * @return $this
44
     */
45
    public function setMpeg4Url($mpeg4_url)
46
    {
47
        $this->mpeg4_url = $mpeg4_url;
48
49
        return $this;
50
    }
51
52
    /**
53
     * @return mixed
54
     */
55
    public function getMpeg4Width()
56
    {
57
        return $this->mpeg4_width;
58
    }
59
60
    /**
61
     * @param mixed $mpeg4_width
62
     *
63
     * @return $this
64
     */
65
    public function setMpeg4Width($mpeg4_width)
66
    {
67
        $this->mpeg4_width = $mpeg4_width;
68
69
        return $this;
70
    }
71
72
    /**
73
     * @return mixed
74
     */
75
    public function getMpeg4Height()
76
    {
77
        return $this->mpeg4_height;
78
    }
79
80
    /**
81
     * @param mixed $mpeg4_height
82
     *
83
     * @return $this
84
     */
85
    public function setMpeg4Height($mpeg4_height)
86
    {
87
        $this->mpeg4_height = $mpeg4_height;
88
89
        return $this;
90
    }
91
92
    /**
93
     * @return mixed
94
     */
95
    public function getCaption()
96
    {
97
        return $this->caption;
98
    }
99
100
    /**
101
     * @param mixed $caption
102
     *
103
     * @return $this
104
     */
105
    public function setCaption($caption)
106
    {
107
        $this->caption = $caption;
108
109
        return $this;
110
    }
111
}
112