Test Failed
Pull Request — master (#11)
by
unknown
01:51
created

Estado::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 2
dl 0
loc 4
ccs 3
cts 3
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace PhpCfdi\SatCatalogos\Nomina;
6
7
use PhpCfdi\SatCatalogos\Common\AbstractEntryIdentifiable;
8
use PhpCfdi\SatCatalogos\Common\EntryIdentifiable;
9
10
class Estado extends AbstractEntryIdentifiable implements EntryIdentifiable
11
{
12
    /** @var string */
13
    public $estado;
14
15
    /** @var string */
16
    public $pais;
17
18 1
    public function __construct(string $estado, string $pais)
19
    {
20 1
        $this->estado = $estado;
21 1
        $this->pais = $pais;
22 1
    }
23
}
24