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:
parent
bd29143523
commit
3f1c17c4a6
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user