@@ -46,10 +46,8 @@ discard block |
||
46 | 46 | * be the post variables |
47 | 47 | * @param string $httpVerb (optional) either GET or POST. |
48 | 48 | * will contain the http response code |
49 | - * @param boolean $suppressExceptions, (optional) if true, we will catch all HttpExceptions that might be thrown by |
|
50 | - * the Connection class |
|
51 | 49 | * |
52 | - * @return \Happyr\ApiClient\Http\Response |
|
50 | + * @return Response |
|
53 | 51 | * @throws HttpException |
54 | 52 | */ |
55 | 53 | public function sendRequest($uri, array $data=array(), $httpVerb='GET') |
@@ -72,8 +70,6 @@ discard block |
||
72 | 70 | /** |
73 | 71 | * Handle stuff when an error occur |
74 | 72 | * |
75 | - * @param string $body |
|
76 | - * @param int $httpStatus |
|
77 | 73 | * |
78 | 74 | * @return Response |
79 | 75 | * @throws \Happyr\ApiClient\Exceptions\HttpException |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | * @param string $httpVerb |
21 | 21 | * @param array $headers |
22 | 22 | * |
23 | - * @return mixed |
|
23 | + * @return Response |
|
24 | 24 | */ |
25 | 25 | public function send($uri, array $data = array(), $httpVerb = 'GET', array $headers = array()) |
26 | 26 | { |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | * Load the curl object with the post data |
103 | 103 | * |
104 | 104 | * |
105 | - * @param $ch |
|
105 | + * @param resource $ch |
|
106 | 106 | * @param array $data |
107 | 107 | * |
108 | 108 | */ |