Test Failed
Pull Request — master (#11)
by
unknown
02:33
created

Estado   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 7
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
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
    public function __construct(string $estado, string $pais, string $texto)
13
    {
14
        $this->estado   = $estado;
0 ignored issues
show
Bug Best Practice introduced by
The property estado does not exist. Although not strictly required by PHP, it is generally a best practice to declare properties explicitly.
Loading history...
15
        $this->pais     = $pais;
0 ignored issues
show
Bug Best Practice introduced by
The property pais does not exist. Although not strictly required by PHP, it is generally a best practice to declare properties explicitly.
Loading history...
16
        $this->texto    = $texto;
0 ignored issues
show
Bug introduced by
The property texto is declared private in PhpCfdi\SatCatalogos\Com...stractEntryIdentifiable and cannot be accessed from this context.
Loading history...
17
    }
18
}
19