Skip to content
This repository was archived by the owner on Jan 16, 2018. It is now read-only.

Commit fa9ccd9

Browse files
committed
Merge pull request #14 from joelwurtz/patch-2
Fix sendRequest(s) methods
2 parents bb41aac + 35f0f0a commit fa9ccd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/HttpMethodsClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public function send($method, $uri, array $headers = [], $body = null)
203203
*/
204204
public function sendRequest(RequestInterface $request)
205205
{
206-
$this->httpClient->sendRequest($request);
206+
return $this->httpClient->sendRequest($request);
207207
}
208208

209209
/**
@@ -213,6 +213,6 @@ public function sendRequest(RequestInterface $request)
213213
*/
214214
public function sendRequests(array $requests)
215215
{
216-
$this->httpClient->sendRequests($requests);
216+
return $this->httpClient->sendRequests($requests);
217217
}
218218
}

0 commit comments

Comments
 (0)