WebSocketCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 6
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 4 1
1
<?php
2
3
namespace leocata\m1Bot\Commands;
4
5
use leocata\m1Bot\Bot\BaseBot;
6
use leocata\m1Bot\Workers\WebSocketWorker;
7
8
class WebSocketCommand
9
{
10
    public static function run(BaseBot $userBot)
11
    {
12
        $socket = new WebSocketWorker($userBot);
13
        $socket->execute();
14
    }
15
}
16