We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bdf8b00 + bdb74f5 commit 60115b5Copy full SHA for 60115b5
http_client.rst
@@ -58,7 +58,10 @@ automatically when type-hinting for :class:`Symfony\\Contracts\\HttpClient\\Http
58
use Symfony\Component\HttpClient\HttpClient;
59
60
$client = HttpClient::create();
61
- $response = $client->request('GET', 'https://api.github.com/repos/symfony/symfony-docs');
+ $response = $client->request(
62
+ 'GET',
63
+ 'https://api.github.com/repos/symfony/symfony-docs'
64
+ );
65
66
$statusCode = $response->getStatusCode();
67
// $statusCode = 200
0 commit comments