@@ -35,6 +35,7 @@ public function __construct(Http\IClient $client = NULL)
3535
3636
3737 /**
38+ * @param OAuth\Token|null $token
3839 * @return self
3940 */
4041 public function setToken (OAuth \Token $ token = NULL )
@@ -98,9 +99,10 @@ public function getDefaultAccept()
9899 * @see request()
99100 *
100101 * @param string
102+ * @param array $parameters
103+ * @param array $headers
101104 * @return Http\Response
102105 *
103- * @throws MissingParameterException
104106 */
105107 public function delete ($ urlPath , array $ parameters = [], array $ headers = [])
106108 {
@@ -115,9 +117,10 @@ public function delete($urlPath, array $parameters = [], array $headers = [])
115117 * @see request()
116118 *
117119 * @param string
120+ * @param array $parameters
121+ * @param array $headers
118122 * @return Http\Response
119123 *
120- * @throws MissingParameterException
121124 */
122125 public function get ($ urlPath , array $ parameters = [], array $ headers = [])
123126 {
@@ -132,9 +135,10 @@ public function get($urlPath, array $parameters = [], array $headers = [])
132135 * @see request()
133136 *
134137 * @param string
138+ * @param array $parameters
139+ * @param array $headers
135140 * @return Http\Response
136141 *
137- * @throws MissingParameterException
138142 */
139143 public function head ($ urlPath , array $ parameters = [], array $ headers = [])
140144 {
@@ -148,12 +152,12 @@ public function head($urlPath, array $parameters = [], array $headers = [])
148152 * @see createRequest()
149153 * @see request()
150154 *
151- * @param string
152- * @param mixed
155+ * @param $urlPath
156+ * @param $content
157+ * @param array $parameters
158+ * @param array $headers
153159 * @return Http\Response
154160 *
155- * @throws MissingParameterException
156- * @throws JsonException
157161 */
158162 public function patch ($ urlPath , $ content , array $ parameters = [], array $ headers = [])
159163 {
@@ -167,12 +171,12 @@ public function patch($urlPath, $content, array $parameters = [], array $headers
167171 * @see createRequest()
168172 * @see request()
169173 *
170- * @param string
171- * @param mixed
174+ * @param $urlPath
175+ * @param $content
176+ * @param array $parameters
177+ * @param array $headers
172178 * @return Http\Response
173179 *
174- * @throws MissingParameterException
175- * @throws JsonException
176180 */
177181 public function post ($ urlPath , $ content , array $ parameters = [], array $ headers = [])
178182 {
@@ -186,12 +190,12 @@ public function post($urlPath, $content, array $parameters = [], array $headers
186190 * @see createRequest()
187191 * @see request()
188192 *
189- * @param string
190- * @param mixed
193+ * @param $urlPath
194+ * @param null $content
195+ * @param array $parameters
196+ * @param array $headers
191197 * @return Http\Response
192198 *
193- * @throws MissingParameterException
194- * @throws JsonException
195199 */
196200 public function put ($ urlPath , $ content = NULL , array $ parameters = [], array $ headers = [])
197201 {
@@ -202,9 +206,9 @@ public function put($urlPath, $content = NULL, array $parameters = [], array $he
202206
203207
204208 /**
209+ * @param Http\Request $request
205210 * @return Http\Response
206211 *
207- * @throws Http\BadResponseException
208212 */
209213 public function request (Http \Request $ request )
210214 {
@@ -324,9 +328,10 @@ public function decode(Http\Response $response, array $okCodes = NULL)
324328 * @see get()
325329 *
326330 * @param string
331+ * @param array $parameters
332+ * @param array $headers
327333 * @return Paginator
328334 *
329- * @throws MissingParameterException
330335 */
331336 public function paginator ($ urlPath , array $ parameters = [], array $ headers = [])
332337 {
@@ -380,9 +385,10 @@ public function getUrl()
380385
381386 /**
382387 * @param string
388+ * @param array $parameters
389+ * @param array $defaultParameters
383390 * @return string
384391 *
385- * @throws MissingParameterException
386392 */
387393 protected function expandColonParameters ($ url , array $ parameters , array $ defaultParameters )
388394 {
@@ -414,6 +420,8 @@ protected function expandColonParameters($url, array $parameters, array $default
414420 * @todo Inject remaining default parameters into query string?
415421 *
416422 * @param string
423+ * @param array $parameters
424+ * @param array $defaultParameters
417425 * @return string
418426 */
419427 protected function expandUriTemplate ($ url , array $ parameters , array $ defaultParameters )
0 commit comments