1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-01-18 05:48:15 +01:00

Fixing typos in the FAQ

The extra trailing quote marks are unnecessary/invalid, and break the syntax highlighting in the example (and would cause a syntax error in actual code).
This commit is contained in:
Jonathan Klein 2014-10-29 11:11:35 -04:00
parent bd29143523
commit 3f1c17c4a6

View File

@ -97,7 +97,7 @@ exception.
.. code-block:: php
$request = $client->createRequest('GET', ['future' => true']);
$request = $client->createRequest('GET', ['future' => true]);
$client->send($request)->then(function ($response) {
echo 'Got a response! ' . $response;
});
@ -107,7 +107,7 @@ of a response.
.. code-block:: php
$request = $client->createRequest('GET', ['future' => true']);
$request = $client->createRequest('GET', ['future' => true]);
$futureResponse = $client->send($request);
$futureResponse->wait();