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

EditMessageReplyMarkup   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 79
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 6
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 79
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getChatId() 0 4 1
A setChatId() 0 6 1
A getMessageId() 0 4 1
A setMessageId() 0 6 1
A getInlineMessageId() 0 4 1
A setInlineMessageId() 0 6 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\Method\Update;
12
13
use Teebot\Entity\Message;
14
15
class EditMessageReplyMarkup extends AbstractMethod
16
{
17
    const NAME          = 'editMessageReplyMarkup';
18
19
    const RETURN_ENTITY = Message::class;
20
21
    protected $chat_id;
22
23
    protected $message_id;
24
25
    protected $inline_message_id;
26
27
    protected $supportedProperties = [
28
        'chat_id'           => false,
29
        'message_id'        => false,
30
        'inline_message_id' => false,
31
        'reply_markup'      => false
32
    ];
33
34
    /**
35
     * @return mixed
36
     */
37
    public function getChatId()
38
    {
39
        return $this->chat_id;
40
    }
41
42
    /**
43
     * @param mixed $chat_id
44
     *
45
     * @return $this
46
     */
47
    public function setChatId($chat_id)
48
    {
49
        $this->chat_id = $chat_id;
50
51
        return $this;
52
    }
53
54
    /**
55
     * @return mixed
56
     */
57
    public function getMessageId()
58
    {
59
        return $this->message_id;
60
    }
61
62
    /**
63
     * @param mixed $message_id
64
     *
65
     * @return $this
66
     */
67
    public function setMessageId($message_id)
68
    {
69
        $this->message_id = $message_id;
70
71
        return $this;
72
    }
73
74
    /**
75
     * @return mixed
76
     */
77
    public function getInlineMessageId()
78
    {
79
        return $this->inline_message_id;
80
    }
81
82
    /**
83
     * @param mixed $inline_message_id
84
     *
85
     * @return $this
86
     */
87
    public function setInlineMessageId($inline_message_id)
88
    {
89
        $this->inline_message_id = $inline_message_id;
90
91
        return $this;
92
    }
93
}
94