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

Banco   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A razonSocial() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace PhpCfdi\SatCatalogos\Nomina;
6
7
use PhpCfdi\SatCatalogos\Common\AbstractEntryIdentifiable;
8
9
class Banco extends AbstractEntryIdentifiable
10
{
11
    /** @var string */
12
    private $razonSocial;
13
14
    public function __construct(string $id, string $texto, string $razonSocial, int $vigenteDesde, int $vigenteHasta)
15
    {
16
        parent::__construct($id, $texto, $vigenteDesde, $vigenteHasta);
17
        $this->razonSocial = $razonSocial;
18
    }
19
20
    public function razonSocial(): string
21
    {
22
        return $this->razonSocial;
23
    }
24
}
25