Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1.064 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
61 | public function sendAsyncRequest(RequestInterface $request) |
||
62 | { |
||
63 | $promise = new Promise( |
||
64 | $this->client->request( |
||
65 | $request->getMethod(), |
||
66 | 104 | $request->getUri(), |
|
67 | $request->getHeaders(), |
||
68 | $request->getBody() |
||
69 | ), |
||
70 | $this->loop, |
||
71 | $request |
||
72 | 104 | ); |
|
73 | 104 | ||
74 | return $promise; |
||
75 | 104 | } |
|
77 |