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.

EditMessageCaption::getChatId()   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
/**
4
 * Class that represents Telegram's Bot-API "editMessageCaption" method.
5
 *
6
 * @package Teebot (Telegram bot framework)
7
 *
8
 * @author  Stanislav Drozdov <[email protected]>
9
 */
10
11
namespace Teebot\Api\Method\Update;
12
13
use Teebot\Api\Entity\Message;
14
use Teebot\Api\Method\AbstractMethod;
15
16
class EditMessageCaption extends AbstractMethod
17
{
18
    const NAME          = 'editMessageCaption';
19
20
    const RETURN_ENTITY = Message::class;
21
22
    protected $chat_id;
23
24
    protected $message_id;
25
26
    protected $inline_message_id;
27
28
    protected $caption;
29
30
    protected $supportedProperties = [
31
        'chat_id'           => false,
32
        'message_id'        => false,
33
        'inline_message_id' => false,
34
        'caption'           => false,
35
        'reply_markup'      => false
36
    ];
37
38
    /**
39
     * @return mixed
40
     */
41
    public function getChatId()
42
    {
43
        return $this->chat_id;
44
    }
45
46
    /**
47
     * @param mixed $chat_id
48
     *
49
     * @return $this
50
     */
51
    public function setChatId($chat_id)
52
    {
53
        $this->chat_id = $chat_id;
54
55
        return $this;
56
    }
57
58
    /**
59
     * @return mixed
60
     */
61
    public function getMessageId()
62
    {
63
        return $this->message_id;
64
    }
65
66
    /**
67
     * @param mixed $message_id
68
     *
69
     * @return $this
70
     */
71
    public function setMessageId($message_id)
72
    {
73
        $this->message_id = $message_id;
74
75
        return $this;
76
    }
77
78
    /**
79
     * @return mixed
80
     */
81
    public function getInlineMessageId()
82
    {
83
        return $this->inline_message_id;
84
    }
85
86
    /**
87
     * @param mixed $inline_message_id
88
     *
89
     * @return $this
90
     */
91
    public function setInlineMessageId($inline_message_id)
92
    {
93
        $this->inline_message_id = $inline_message_id;
94
95
        return $this;
96
    }
97
98
    /**
99
     * @return mixed
100
     */
101
    public function getCaption()
102
    {
103
        return $this->caption;
104
    }
105
106
    /**
107
     * @param mixed $caption
108
     *
109
     * @return $this
110
     */
111
    public function setCaption($caption)
112
    {
113
        $this->caption = $caption;
114
115
        return $this;
116
    }
117
}
118