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

InlineQueryResultArticle   A

Complexity

Total Complexity 12

Size/Duplication

Total Lines 153
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 3
Bugs 0 Features 3
Metric Value
wmc 12
c 3
b 0
f 3
lcom 0
cbo 1
dl 0
loc 153
rs 10

12 Methods

Rating   Name   Duplication   Size   Complexity  
A getMessageText() 0 4 1
A setMessageText() 0 6 1
A getUrl() 0 4 1
A setUrl() 0 6 1
A getHideUrl() 0 4 1
A setHideUrl() 0 6 1
A getDescription() 0 4 1
A setDescription() 0 6 1
A getThumbWidth() 0 4 1
A setThumbWidth() 0 6 1
A getThumbHeight() 0 4 1
A setThumbHeight() 0 6 1
1
<?php
2
3
namespace Teebot\Entity\Inline;
4
5
class InlineQueryResultArticle extends InlineQueryResultAbstract
6
{
7
    const ENTITY_TYPE = 'InlineQueryResultArticle';
8
9
    const RESULT_TYPE = 'article';
10
11
    protected $message_text;
12
13
    protected $url;
14
15
    protected $hide_url;
16
17
    protected $description;
18
19
    protected $thumb_width;
20
21
    protected $thumb_height;
22
23
    protected $supportedProperties = [
24
        'type'                     => true,
25
        'id'                       => true,
26
        'title'                    => true,
27
        'message_text'             => true,
28
        'parse_mode'               => false,
29
        'disable_web_page_preview' => false,
30
        'url'                      => false,
31
        'hide_url'                 => false,
32
        'description'              => false,
33
        'thumb_url'                => false,
34
        'thumb_width'              => false,
35
        'thumb_height'             => false,
36
    ];
37
38
    /**
39
     * @return mixed
40
     */
41
    public function getMessageText()
42
    {
43
        return $this->message_text;
44
    }
45
46
    /**
47
     * @param mixed $message_text
48
     *
49
     * @return $this
50
     */
51
    public function setMessageText($message_text)
52
    {
53
        $this->message_text = $message_text;
54
55
        return $this;
56
    }
57
58
    /**
59
     * @return mixed
60
     */
61
    public function getUrl()
62
    {
63
        return $this->url;
64
    }
65
66
    /**
67
     * @param mixed $url
68
     *
69
     * @return $this
70
     */
71
    public function setUrl($url)
72
    {
73
        $this->url = $url;
74
75
        return $this;
76
    }
77
78
    /**
79
     * @return mixed
80
     */
81
    public function getHideUrl()
82
    {
83
        return $this->hide_url;
84
    }
85
86
    /**
87
     * @param mixed $hide_url
88
     *
89
     * @return $this
90
     */
91
    public function setHideUrl($hide_url)
92
    {
93
        $this->hide_url = $hide_url;
94
95
        return $this;
96
    }
97
98
    /**
99
     * @return mixed
100
     */
101
    public function getDescription()
102
    {
103
        return $this->description;
104
    }
105
106
    /**
107
     * @param mixed $description
108
     *
109
     * @return $this
110
     */
111
    public function setDescription($description)
112
    {
113
        $this->description = $description;
114
115
        return $this;
116
    }
117
118
    /**
119
     * @return mixed
120
     */
121
    public function getThumbWidth()
122
    {
123
        return $this->thumb_width;
124
    }
125
126
    /**
127
     * @param mixed $thumb_width
128
     *
129
     * @return $this
130
     */
131
    public function setThumbWidth($thumb_width)
132
    {
133
        $this->thumb_width = $thumb_width;
134
135
        return $this;
136
    }
137
138
    /**
139
     * @return mixed
140
     */
141
    public function getThumbHeight()
142
    {
143
        return $this->thumb_height;
144
    }
145
146
    /**
147
     * @param mixed $thumb_height
148
     *
149
     * @return $this
150
     */
151
    public function setThumbHeight($thumb_height)
152
    {
153
        $this->thumb_height = $thumb_height;
154
155
        return $this;
156
    }
157
}
158