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

InlineKeyboardMarkup::setInlineKeyboard()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace Teebot\Entity\Inline;
4
5
use Teebot\Entity\AbstractEntity;
6
7
class InlineKeyboardMarkup extends AbstractEntity
8
{
9
    const ENTITY_TYPE = 'InlineKeyboardMarkup';
10
11
    /** @var array $inline_keyboard */
12
    protected $inline_keyboard = [];
13
14
    protected $supportedProperties = [
15
        'inline_keyboard' => true
16
    ];
17
18
    /**
19
     * @return array
20
     */
21
    public function getInlineKeyboard()
22
    {
23
        return $this->inline_keyboard;
24
    }
25
26
    /**
27
     * @param array $inline_keyboard
28
     * 
29
     * @return $this
30
     */
31
    public function setInlineKeyboard($inline_keyboard)
32
    {
33
        $this->inline_keyboard = $inline_keyboard;
34
35
        return $this;
36
    }
37
}
38