Passed
Push — master ( a6a24c...80ac3a )
by kacper
03:22
created

UpdateRowsDTO   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getType() 0 3 1
1
<?php
2
3
namespace MySQLReplication\Event\DTO;
4
5
use MySQLReplication\Definitions\ConstEventsNames;
6
7
/**
8
 * Class UpdateRowsDTO
9
 * @package MySQLReplication\DTO
10
 */
11
class UpdateRowsDTO extends RowsDTO
12
{
13
    /**
14
     * @var string
15
     */
16
    protected $type = ConstEventsNames::UPDATE;
17
18
    /**
19
     * @return string
20
     */
21 1
    public function getType()
22
    {
23 1
        return $this->type;
24
    }
25
}