Passed
Push — master ( 221c35...fdb910 )
by Petr
02:59
created

Item   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 43
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 29
c 1
b 0
f 0
dl 0
loc 43
ccs 10
cts 10
cp 1
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace kalanis\Pohoda\Receipt;
6
7
use kalanis\Pohoda\Common\Dtos;
8
use kalanis\Pohoda\Document\AbstractItem;
9
10
class Item extends AbstractItem
11
{
12
    /**
13
     * @{inheritDoc}
14
     */
15 1
    protected function getDefaultDto(): Dtos\AbstractDto
16
    {
17 1
        return new ItemDto();
18
    }
19
}
20