Completed
Push — master ( fafbf7...a6c735 )
by Vladimir
04:01
created

ReplyButton::make()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 2
dl 0
loc 4
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
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