| Total Complexity | 6 |
| Total Lines | 54 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 7 | final class Phone |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string|null |
||
| 11 | * @SerializedName("Main") |
||
| 12 | */ |
||
| 13 | private $main; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string|null |
||
| 17 | * @SerializedName("Mobile") |
||
| 18 | */ |
||
| 19 | private $mobile; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string|null |
||
| 23 | * @SerializedName("Work") |
||
| 24 | */ |
||
| 25 | private $work; |
||
| 26 | |||
| 27 | public function getMain(): ?string |
||
| 30 | } |
||
| 31 | |||
| 32 | public function setMain(?string $main): self |
||
| 37 | } |
||
| 38 | |||
| 39 | public function getMobile(): ?string |
||
| 40 | { |
||
| 41 | return $this->mobile; |
||
| 42 | } |
||
| 43 | |||
| 44 | public function setMobile(?string $mobile): self |
||
| 49 | } |
||
| 50 | |||
| 51 | public function getWork(): ?string |
||
| 52 | { |
||
| 53 | return $this->work; |
||
| 54 | } |
||
| 55 | |||
| 56 | public function setWork(?string $work): self |
||
| 61 | } |
||
| 62 | } |
||
| 63 |