| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | class ValidatePhoneRequest |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * Phone number. |
||
| 28 | */ |
||
| 29 | private string $number; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Phone number extension. |
||
| 33 | */ |
||
| 34 | private ?string $ext; |
||
| 35 | |||
| 36 | 1 | public function __construct(string $number, string $ext = null) |
|
| 37 | { |
||
| 38 | 1 | $this->number = $number; |
|
| 39 | 1 | $this->ext = $ext; |
|
| 40 | } |
||
| 41 | |||
| 42 | 1 | public function getNumber(): string |
|
| 45 | } |
||
| 46 | |||
| 47 | 1 | public function getExt(): ?string |
|
| 52 |