Total Complexity | 4 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Coverage | 91.67% |
Changes | 0 |
1 | <?php |
||
32 | class District extends EntityAbstract |
||
33 | { |
||
34 | /** |
||
35 | * 4 znakowy symbol powiatu |
||
36 | * sklada sie z 2 cyfr województwa i 2 powiatu |
||
37 | * |
||
38 | * @var string |
||
39 | */ |
||
40 | public $id; |
||
41 | /** |
||
42 | * Nazwa powiatu |
||
43 | * |
||
44 | * @var static |
||
45 | */ |
||
46 | public $name; |
||
47 | /** |
||
48 | * Nazwa typu powiatu |
||
49 | * |
||
50 | * @var string |
||
51 | */ |
||
52 | public $typeName; |
||
53 | /** |
||
54 | * Obiekt z informacjami o wojewodztwie |
||
55 | * |
||
56 | * @var \mrcnpdlk\Teryt\Model\Province |
||
57 | */ |
||
58 | public $province; |
||
59 | |||
60 | /** |
||
61 | * District constructor. |
||
62 | * |
||
63 | * @param string $id 4-znakowy symbol powiatu |
||
64 | * |
||
65 | * @return $this |
||
66 | * @throws NotFound |
||
67 | */ |
||
68 | 1 | public function find(string $id) |
|
88 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..