| Total Complexity | 4 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Coverage | 40% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class FindStreetRequest |
||
| 18 | { |
||
| 19 | use ToArray; |
||
| 20 | |||
| 21 | private int $siteId; |
||
| 22 | |||
| 23 | private string $name; |
||
| 24 | |||
| 25 | private ?string $type = null; |
||
| 26 | |||
| 27 | 1 | public function __construct(int $siteId, string $name, ?string $type) |
|
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return int |
||
| 36 | */ |
||
| 37 | public function getSiteId(): int |
||
| 38 | { |
||
| 39 | return $this->siteId; |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | public function getName(): string |
||
| 46 | { |
||
| 47 | return $this->name; |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return string|null |
||
| 52 | */ |
||
| 53 | public function getType(): ?string |
||
| 56 | } |
||
| 57 | } |
||
| 58 |