InlineKeyboard   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 11
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A make() 0 3 1
1
<?php
2
3
namespace TelegramBot\Entities;
4
5
/**
6
 * Class InlineKeyboard
7
 *
8
 * @link https://core.telegram.org/bots/api#inlinekeyboardmarkup
9
 */
10
class InlineKeyboard extends Keyboard
11
{
12
13
    /**
14
     * Creates instance of Keyboard
15
     *
16
     * @return InlineKeyboard
17
     */
18
    public static function make(): InlineKeyboard
19
    {
20
        return new self([]);
21
    }
22
23
}
24