CashSlip   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
eloc 4
c 1
b 0
f 0
dl 0
loc 21
ccs 6
cts 6
cp 1
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getDocumentNamespace() 0 3 1
A getImportRoot() 0 3 1
A getDocumentName() 0 3 1
1
<?php
2
3
/**
4
 * This file is part of riesenia/pohoda package.
5
 *
6
 * Licensed under the MIT License
7
 * (c) RIESENIA.com
8
 */
9
10
declare(strict_types=1);
11
12
namespace Riesenia\Pohoda;
13
14
class CashSlip extends AbstractDocument
15
{
16 5
    public function getImportRoot(): string
17
    {
18 5
        return 'lst:prodejka';
19
    }
20
21
    /**
22
     * {@inheritdoc}
23
     */
24 5
    protected function getDocumentNamespace(): string
25
    {
26 5
        return 'pro';
27
    }
28
29
    /**
30
     * {@inheritdoc}
31
     */
32 5
    protected function getDocumentName(): string
33
    {
34 5
        return 'prodejka';
35
    }
36
}
37