@@ -258,7 +258,7 @@ discard block |
||
258 | 258 | /** |
259 | 259 | * Prepare the signature for use in the Authorization header |
260 | 260 | * |
261 | - * @return Signature |
|
261 | + * @return HmacSha1 |
|
262 | 262 | */ |
263 | 263 | private function prepareSignature() |
264 | 264 | { |
@@ -287,7 +287,7 @@ discard block |
||
287 | 287 | * |
288 | 288 | * @param string $endpoint - endpoint to hit |
289 | 289 | * @param Array $options parameters for the query string |
290 | - * @return string response from the Twitter endpoint |
|
290 | + * @return \GuzzleHttp\Stream\StreamInterface|null response from the Twitter endpoint |
|
291 | 291 | * @throws UnauthorizedRequestException |
292 | 292 | * @throws RateLimitExceededException |
293 | 293 | * @throws RuntimeException |
@@ -318,7 +318,7 @@ discard block |
||
318 | 318 | * |
319 | 319 | * @param string $endpoint - end point to hit |
320 | 320 | * @param Array $options - parameters/post body |
321 | - * @return string response from Twitter Endpoint |
|
321 | + * @return \GuzzleHttp\Stream\StreamInterface|null response from Twitter Endpoint |
|
322 | 322 | * @throws UnauthorizedRequestException |
323 | 323 | * @throws RateLimitExceededException |
324 | 324 | * @throws RuntimeException |
@@ -385,7 +385,7 @@ discard block |
||
385 | 385 | * |
386 | 386 | * @param string $endpoint end point to hit |
387 | 387 | * @param Array $options parameters |
388 | - * @return string response from Twitter Endpoint |
|
388 | + * @return \GuzzleHttp\Stream\StreamInterface|null response from Twitter Endpoint |
|
389 | 389 | */ |
390 | 390 | public function get($endpoint, $options = []) |
391 | 391 | { |
@@ -397,7 +397,7 @@ discard block |
||
397 | 397 | * |
398 | 398 | * @param string $endpoint endpoint to hit |
399 | 399 | * @param Array $options parameters/post body |
400 | - * @return string response from endpoint |
|
400 | + * @return \GuzzleHttp\Stream\StreamInterface|null response from endpoint |
|
401 | 401 | */ |
402 | 402 | public function post($endpoint, $options = []) |
403 | 403 | { |