mirror of
https://github.com/guzzle/guzzle.git
synced 2025-02-24 18:13:00 +01:00
Fixing comment
This commit is contained in:
parent
4def2f4cd7
commit
666f0667df
@ -267,8 +267,7 @@ class Client implements ClientInterface
|
||||
function () use ($response, $trans) {
|
||||
// Dereference the underlying future and block until complete.
|
||||
$result = $response->deref();
|
||||
// The transaction response may have been set on the trans
|
||||
// while dereferencing the response (e.g., MockAdapter).
|
||||
// The transaction response should have been set on the trans.
|
||||
if ($trans->response) {
|
||||
return $trans->response;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user