Banco   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 5
c 0
b 0
f 0
dl 0
loc 14
ccs 5
cts 5
cp 1
rs 10
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 3
    public function __construct(string $id, string $texto, string $razonSocial, int $vigenteDesde, int $vigenteHasta)
15
    {
16 3
        parent::__construct($id, $texto, $vigenteDesde, $vigenteHasta);
17 3
        $this->razonSocial = $razonSocial;
18
    }
19
20 2
    public function razonSocial(): string
21
    {
22 2
        return $this->razonSocial;
23
    }
24
}
25