TestCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A execute() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace HeroesofAbenez\Chat;
5
6
final class TestCommand extends BaseChatCommand
7
{
8
    /** @var string */
9
    protected string $name = "test1";
10
11
    public function execute(): string
12
    {
13
        return "passed";
14
    }
15
}
16