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.

InlineKeyboardMarkup   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 29
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getInlineKeyboard() 0 3 1
A setInlineKeyboard() 0 5 1
1
<?php
2
3
namespace Teebot\Api\Entity\Inline;
4
5
use Teebot\Api\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