| Code Coverage | ||||||||||
| Classes and Traits | Functions and Methods | Lines | ||||||||
| Total |  | 100.00% | 1 / 1 |  | 100.00% | 2 / 2 | CRAP |  | 100.00% | 3 / 3 | 
| CityResponse |  | 100.00% | 1 / 1 |  | 100.00% | 2 / 2 | 2 |  | 100.00% | 3 / 3 | 
| __construct |  | 100.00% | 1 / 1 | 1 |  | 100.00% | 2 / 2 | |||
| getCities |  | 100.00% | 1 / 1 | 1 |  | 100.00% | 1 / 1 | |||
| 1 | <?php | 
| 2 | |
| 3 | namespace App\Application; | 
| 4 | |
| 5 | use App\Domain\City; | 
| 6 | |
| 7 | class CityResponse | 
| 8 | { | 
| 9 | /** | 
| 10 | * @param City[] $cities | 
| 11 | */ | 
| 12 | public function __construct( | 
| 13 | private array $cities | 
| 14 | ) { | 
| 15 | } | 
| 16 | |
| 17 | /** | 
| 18 | * @return City[] | 
| 19 | */ | 
| 20 | public function getCities(): array | 
| 21 | { | 
| 22 | return $this->cities; | 
| 23 | } | 
| 24 | } |