Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

corrected Return Annotations #135

Merged
merged 1 commit into from
Jun 17, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions lib/Github/HttpClient/HttpClientInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Github\HttpClient;

use Github\Exception\InvalidArgumentException;
use Guzzle\Http\Message\Response;

/**
* Performs requests on GitHub API. API documentation should be self-explanatory.
Expand All @@ -18,7 +19,7 @@ interface HttpClientInterface
* @param array $parameters GET Parameters
* @param array $headers Reconfigure the request headers for this call only
*
* @return array Data
* @return Response
*/
public function get($path, array $parameters = array(), array $headers = array());

Expand All @@ -29,7 +30,7 @@ public function get($path, array $parameters = array(), array $headers = array()
* @param mixed $body Request body
* @param array $headers Reconfigure the request headers for this call only
*
* @return array Data
* @return Response
*/
public function post($path, $body = null, array $headers = array());

Expand All @@ -41,7 +42,7 @@ public function post($path, $body = null, array $headers = array());
* @param array $headers Reconfigure the request headers for this call only
*
* @internal param array $parameters Request body
* @return array Data
* @return Response
*/
public function patch($path, $body = null, array $headers = array());

Expand All @@ -52,7 +53,7 @@ public function patch($path, $body = null, array $headers = array());
* @param mixed $body Request body
* @param array $headers Reconfigure the request headers for this call only
*
* @return array Data
* @return Response
*/
public function put($path, $body, array $headers = array());

Expand All @@ -63,7 +64,7 @@ public function put($path, $body, array $headers = array());
* @param mixed $body Request body
* @param array $headers Reconfigure the request headers for this call only
*
* @return array Data
* @return Response
*/
public function delete($path, $body = null, array $headers = array());

Expand All @@ -76,7 +77,7 @@ public function delete($path, $body = null, array $headers = array());
* @param string $httpMethod HTTP method to use
* @param array $headers Request headers
*
* @return array Data
* @return Response
*/
public function request($path, $body, $httpMethod = 'GET', array $headers = array());

Expand Down