1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-02-24 18:13:00 +01:00

Fixing comment

This commit is contained in:
Michael Dowling 2014-09-17 16:09:22 -07:00
parent 4def2f4cd7
commit 666f0667df

View File

@ -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;
}