@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | * Get a particular page from the api. |
| 39 | 39 | * |
| 40 | 40 | * @param string $path path of the page |
| 41 | - * @return array|false |
|
| 41 | + * @return \Psr\Http\Message\ResponseInterface|null |
|
| 42 | 42 | */ |
| 43 | 43 | public function getPage($path) |
| 44 | 44 | { |
@@ -48,6 +48,8 @@ discard block |
||
| 48 | 48 | /** |
| 49 | 49 | * Call a particular api endpoint. |
| 50 | 50 | * |
| 51 | + * @param string $method |
|
| 52 | + * @param string $url |
|
| 51 | 53 | * @return \Psr\Http\Message\ResponseInterface |
| 52 | 54 | */ |
| 53 | 55 | public function call($method, $url) |