Passed
Push — main ( 417efa...3246f4 )
by Vasil
02:26
created

City   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
dl 0
loc 10
ccs 1
cts 1
cp 1
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php
2
3
namespace VasilDakov\Shipping\Model;
4
5
class City
6
{
7 1
    public function __construct(
8
        public ?int $id = null,
9
        public ?string $countryId = null,
10
        public ?Country $country = null,
11
        public ?string $name = null,
12
        public ?string $nameEn = null,
13
        public ?string $postCode = null,
14
    ) {
15 1
    }
16
}
17