Completed
Pull Request — master (#50)
by Dominic
02:22
created

Auth   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 19
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getCommand() 0 4 1
1
<?php
2
namespace Disque\Command;
3
4
use Disque\Command\Response\AuthResponse;
5
6
class Auth extends BaseCommand implements CommandInterface
7
{
8
    /**
9
     * Tells the argument types for this command
10
     *
11
     * @var int
12
     */
13
    protected $argumentsType = self::ARGUMENTS_TYPE_STRING;
14
15
    /**
16
     * Get command
17
     *
18
     * @return string Command
19
     */
20 1
    public function getCommand()
21
    {
22 1
        return 'AUTH';
23
    }
24
}