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

Commit 3719bb3

Browse files
committed
Update phpdoc
1 parent 629fd8c commit 3719bb3

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/BatchClient.php

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,14 @@
1616
*/
1717
class BatchClient implements HttpClient
1818
{
19+
/**
20+
* @var HttpClient
21+
*/
1922
private $client;
2023

24+
/**
25+
* @param HttpClient $client
26+
*/
2127
public function __construct(HttpClient $client)
2228
{
2329
$this->client = $client;
@@ -32,16 +38,16 @@ public function sendRequest(RequestInterface $request)
3238
}
3339

3440
/**
35-
* Send several requests.
36-
*
41+
* Send several requests.
42+
*
3743
* You may not assume that the requests are executed in a particular order. If the order matters
3844
* for your application, use sendRequest sequentially.
39-
*
45+
*
4046
* @param RequestInterface[] The requests to send
41-
*
47+
*
4248
* @return BatchResult Containing one result per request.
43-
*
44-
* @throws BatchException If one or more requests fails. The exception gives access to the
49+
*
50+
* @throws BatchException If one or more requests fails. The exception gives access to the
4551
* BatchResult with a map of request to result for success, request to
4652
* exception for failures.
4753
*/

0 commit comments

Comments
 (0)