| Total Complexity | 7 | 
| Total Lines | 61 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 11 | class CodigoPostal extends AbstractEntryIdentifiable implements EntryIdentifiable  | 
            ||
| 12 | { | 
            ||
| 13 | /** @var string */  | 
            ||
| 14 | private $estado;  | 
            ||
| 15 | |||
| 16 | /** @var string */  | 
            ||
| 17 | private $municipio;  | 
            ||
| 18 | |||
| 19 | /** @var string */  | 
            ||
| 20 | private $localidad;  | 
            ||
| 21 | |||
| 22 | /** @var bool */  | 
            ||
| 23 | private $estimuloFrontera;  | 
            ||
| 24 | |||
| 25 | /** @var HusoHorario */  | 
            ||
| 26 | private $husoHorario;  | 
            ||
| 27 | |||
| 28 | 6 | public function __construct(  | 
            |
| 29 | string $id,  | 
            ||
| 30 | string $estado,  | 
            ||
| 31 | string $municipio,  | 
            ||
| 32 | string $localidad,  | 
            ||
| 33 | bool $estimuloFrontera,  | 
            ||
| 34 | HusoHorario $husoHorario,  | 
            ||
| 35 | int $vigenteDesde,  | 
            ||
| 36 | int $vigenteHasta  | 
            ||
| 37 |     ) { | 
            ||
| 38 | 6 | parent::__construct($id, $id, $vigenteDesde, $vigenteHasta);  | 
            |
| 39 | 6 |         if ('' === $estado) { | 
            |
| 40 | 1 |             throw new SatCatalogosLogicException('El campo estado no puede ser una cadena de caracteres vacía'); | 
            |
| 41 | }  | 
            ||
| 42 | 5 | $this->estado = $estado;  | 
            |
| 43 | 5 | $this->municipio = $municipio;  | 
            |
| 44 | 5 | $this->localidad = $localidad;  | 
            |
| 45 | 5 | $this->estimuloFrontera = $estimuloFrontera;  | 
            |
| 46 | 5 | $this->husoHorario = $husoHorario;  | 
            |
| 47 | }  | 
            ||
| 48 | |||
| 49 | 2 | public function estado(): string  | 
            |
| 52 | }  | 
            ||
| 53 | |||
| 54 | 2 | public function municipio(): string  | 
            |
| 55 |     { | 
            ||
| 56 | 2 | return $this->municipio;  | 
            |
| 57 | }  | 
            ||
| 58 | |||
| 59 | 2 | public function localidad(): string  | 
            |
| 62 | }  | 
            ||
| 63 | |||
| 64 | 3 | public function estimuloFrontera(): bool  | 
            |
| 67 | }  | 
            ||
| 68 | |||
| 69 | 1 | public function husoHorario(): HusoHorario  | 
            |
| 74 |