| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | class Api |
||
| 27 | { |
||
| 28 | /** |
||
| 29 | * @var NativeApi |
||
| 30 | */ |
||
| 31 | private $oNativeApi; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Api constructor. |
||
| 35 | * |
||
| 36 | * @param Client $oClient |
||
| 37 | */ |
||
| 38 | 2 | public function __construct(Client $oClient) |
|
| 41 | 2 | } |
|
| 42 | |||
| 43 | /** |
||
| 44 | * Get information about City |
||
| 45 | * |
||
| 46 | * @param string $id |
||
| 47 | * |
||
| 48 | * @return City |
||
| 49 | */ |
||
| 50 | 2 | public function getCity(string $id) |
|
| 58 |