ReplyButton   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 13
c 0
b 0
f 0
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A make() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace FondBot\Templates\Keyboard;
6
7
class ReplyButton extends Button
8
{
9
    /**
10
     * Make a new reply button instance.
11
     *
12
     * @param string $label
13
     * @param array  $parameters
14
     *
15
     * @return static
16
     */
17 1
    public static function make(string $label, array $parameters = [])
18
    {
19 1
        return new static($label, $parameters);
20
    }
21
}
22