Item   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getDefaultDto() 0 3 1
1
<?php
2
3
namespace kalanis\Pohoda\Voucher;
4
5
use kalanis\Pohoda\Common\Dtos;
6
use kalanis\Pohoda\Document\AbstractItem;
7
8
class Item extends AbstractItem
9
{
10
    /**
11
     * @{inheritDoc}
12
     */
13 1
    protected function getDefaultDto(): Dtos\AbstractDto
14
    {
15 1
        return new ItemDto();
16
    }
17
}
18