VatIdNoProviderTrait::getVatIdNo()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
namespace Germania\VatIdNo;
3
4
trait VatIdNoProviderTrait
5
{
6
7
    /**
8
     * VAT ID number
9
     * @var string
10
     */
11
    public $vatin;
12
13
14
    /**
15
     * tax number
16
     * @var string
17
     */
18
    public $taxno;
19
20
21
    /**
22
     * @inheritdoc
23
     */
24 12
    public function getVatIdNo()
25
    {
26 12
        return $this->vatin;
27
    }
28
29
30
    /**
31
     * @inheritdoc
32
     */
33 12
    public function getTaxNo()
34
    {
35 12
        return $this->taxno;
36
    }
37
}
38