@@ -142,7 +142,7 @@ |
||
142 | 142 | * Set the token passed as the default token. A default token can |
143 | 143 | * also be set using the `token` key in the constructor options. |
144 | 144 | * |
145 | - * @param AccessToken $token The token to set |
|
145 | + * @param AccessToken|null $token The token to set |
|
146 | 146 | * @return AccessToken The {@link https://goo.gl/QEoCNV access token} |
147 | 147 | */ |
148 | 148 | public function setToken(AccessToken $token) |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | /** |
112 | 112 | * Requests an access token using a refresh token |
113 | 113 | * |
114 | - * @param AccessToken $token A previously generated token |
|
114 | + * @param AccessToken|null $token A previously generated token |
|
115 | 115 | * @return AccessToken The {@link https://goo.gl/QEoCNV access token} |
116 | 116 | */ |
117 | 117 | public function refresh(AccessToken $token) |
@@ -173,6 +173,8 @@ discard block |
||
173 | 173 | /** |
174 | 174 | * Sends the request and returns the parsed response. |
175 | 175 | * |
176 | + * @param string $method |
|
177 | + * @param string $path |
|
176 | 178 | * @return array The parsed response |
177 | 179 | */ |
178 | 180 | public function getResponse($method, $path, array $query = [], array $data = []) |