@@ -176,9 +176,6 @@ discard block |
||
176 | 176 | /** |
177 | 177 | * Refresh the access token from the OAuth. |
178 | 178 | * |
179 | - * @param string $refreshToken the refresh token |
|
180 | - * @param string $requestScope the scope associated with the previously |
|
181 | - * obtained access token |
|
182 | 179 | * |
183 | 180 | * @return AccessToken |
184 | 181 | */ |
@@ -220,6 +217,7 @@ discard block |
||
220 | 217 | /** |
221 | 218 | * Validate the provided URI to see if it has the right format, it is |
222 | 219 | * provided by the API consumer. |
220 | + * @param string $requestUri |
|
223 | 221 | */ |
224 | 222 | private static function parseRequestUri($requestUri) |
225 | 223 | { |
@@ -39,8 +39,8 @@ discard block |
||
39 | 39 | private $requestHeaders; |
40 | 40 | |
41 | 41 | /** |
42 | - * @param int $statusCode |
|
43 | - * @param string $responseBody |
|
42 | + * @param string $requestMethod |
|
43 | + * @param string $requestBody |
|
44 | 44 | */ |
45 | 45 | public function __construct($requestMethod, $requestUri, array $requestHeaders = [], $requestBody = null) |
46 | 46 | { |
@@ -87,6 +87,10 @@ discard block |
||
87 | 87 | ); |
88 | 88 | } |
89 | 89 | |
90 | + /** |
|
91 | + * @param string $key |
|
92 | + * @param string $value |
|
93 | + */ |
|
90 | 94 | public function setHeader($key, $value) |
91 | 95 | { |
92 | 96 | $this->requestHeaders[$key] = $value; |