Total Complexity | 3 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class CountriesClient extends NStackClient |
||
14 | { |
||
15 | /** @var string */ |
||
16 | protected $path = 'geographic/countries'; |
||
17 | |||
18 | /** |
||
19 | * index |
||
20 | * |
||
21 | * @return array |
||
22 | * @throws \NStack\Exceptions\FailedToParseException |
||
23 | * @author Casper Rasmussen <[email protected]> |
||
24 | */ |
||
25 | 1 | public function index(): array |
|
39 | } |
||
40 | |||
41 | /** |
||
42 | * show |
||
43 | * |
||
44 | * @param $id |
||
45 | * @return \NStack\Models\Country |
||
46 | * @throws \NStack\Exceptions\FailedToParseException |
||
47 | * @author Casper Rasmussen <[email protected]> |
||
48 | */ |
||
49 | 1 | public function show($id): Country |
|
58 | } |
||
59 | } |