| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class FindOfficeRequest |
||
| 19 | { |
||
| 20 | use ToArray; |
||
|
|
|||
| 21 | |||
| 22 | private ?int $countryId; |
||
| 23 | 2 | ||
| 24 | private ?int $siteId; |
||
| 25 | 2 | ||
| 26 | private ?string $name; |
||
| 27 | |||
| 28 | 1 | public function __construct(?int $countryId = null, ?int $siteId = null, ?string $name = null) |
|
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return int |
||
| 37 | */ |
||
| 38 | public function getCountryId(): int |
||
| 39 | { |
||
| 40 | return $this->countryId; |
||
| 41 | } |
||
| 42 | |||
| 43 | |||
| 44 | public function toArray(): array |
||
| 50 | ]; |
||
| 51 | } |
||
| 53 |