Completed
Push — master ( 21bf70...cc5276 )
by Kamil
05:50
created

PingCommand::buildPacket()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 2
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Dazzle\MySQL\Command\Concrete;
4
5
use Dazzle\MySQL\Command\Command;
6
7
class PingCommand extends Command
8
{
9
    /**
10
     * @override
11
     * @inheritDoc
12
     */
13
    public function getID()
14
    {
15
        return self::PING;
16
    }
17
18
    /**
19
     * @override
20
     * @inheritDoc
21
     */
22
    public function buildPacket()
23
    {}
24
25
    /**
26
     * @override
27
     * @inheritDoc
28
     */
29
    public function getSql()
30
    {
31
        return '';
32
    }
33
}
34