Test2Command   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
eloc 4
c 2
b 0
f 0
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A execute() 0 4 1
1
<?php
2
declare(strict_types=1);
3
4
namespace HeroesofAbenez\Chat;
5
6
final class Test2Command extends BaseChatCommand
7
{
8
    public const NAME = "test2";
9
10
    public function execute(): string
11
    {
12
        $args = func_get_args();
13
        return "test" . implode("", $args);
14
    }
15
}
16