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.

EditMessageReplyMarkup   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 77
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 77
rs 10
c 0
b 0
f 0
wmc 6

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getMessageId() 0 3 1
A getInlineMessageId() 0 3 1
A getChatId() 0 3 1
A setMessageId() 0 5 1
A setChatId() 0 5 1
A setInlineMessageId() 0 5 1
1
<?php
2
3
/**
4
 * Class that represents Telegram's Bot-API "editMessageReplyMarkup" 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 EditMessageReplyMarkup extends AbstractMethod
17
{
18
    const NAME          = 'editMessageReplyMarkup';
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 $supportedProperties = [
29
        'chat_id'           => false,
30
        'message_id'        => false,
31
        'inline_message_id' => false,
32
        'reply_markup'      => false
33
    ];
34
35
    /**
36
     * @return mixed
37
     */
38
    public function getChatId()
39
    {
40
        return $this->chat_id;
41
    }
42
43
    /**
44
     * @param mixed $chat_id
45
     *
46
     * @return $this
47
     */
48
    public function setChatId($chat_id)
49
    {
50
        $this->chat_id = $chat_id;
51
52
        return $this;
53
    }
54
55
    /**
56
     * @return mixed
57
     */
58
    public function getMessageId()
59
    {
60
        return $this->message_id;
61
    }
62
63
    /**
64
     * @param mixed $message_id
65
     *
66
     * @return $this
67
     */
68
    public function setMessageId($message_id)
69
    {
70
        $this->message_id = $message_id;
71
72
        return $this;
73
    }
74
75
    /**
76
     * @return mixed
77
     */
78
    public function getInlineMessageId()
79
    {
80
        return $this->inline_message_id;
81
    }
82
83
    /**
84
     * @param mixed $inline_message_id
85
     *
86
     * @return $this
87
     */
88
    public function setInlineMessageId($inline_message_id)
89
    {
90
        $this->inline_message_id = $inline_message_id;
91
92
        return $this;
93
    }
94
}
95