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   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getInlineKeyboard() 0 4 1
A setInlineKeyboard() 0 6 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