@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | * Get a particular page from the api. |
43 | 43 | * |
44 | 44 | * @param string $path path of the page |
45 | - * @return array|false |
|
45 | + * @return \Psr\Http\Message\ResponseInterface|null |
|
46 | 46 | */ |
47 | 47 | public function getPage($path) |
48 | 48 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * Get a particular page from the api. |
54 | 54 | * |
55 | 55 | * @param array $ids unique ids of pages to fetch data for. |
56 | - * @return array|false |
|
56 | + * @return \Psr\Http\Message\ResponseInterface|null |
|
57 | 57 | */ |
58 | 58 | public function getPagesById($ids) |
59 | 59 | { |
@@ -66,6 +66,8 @@ discard block |
||
66 | 66 | /** |
67 | 67 | * Call a particular api endpoint. |
68 | 68 | * |
69 | + * @param string $method |
|
70 | + * @param string $url |
|
69 | 71 | * @return \Psr\Http\Message\ResponseInterface |
70 | 72 | */ |
71 | 73 | public function call($method, $url) |