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.
1 parent 779e983 commit 9fd1e68Copy full SHA for 9fd1e68
http_client.rst
@@ -64,7 +64,10 @@ automatically when type-hinting for :class:`Symfony\\Contracts\\HttpClient\\Http
64
use Symfony\Component\HttpClient\HttpClient;
65
66
$client = HttpClient::create();
67
- $response = $client->request('GET', 'https://api.github.com/repos/symfony/symfony-docs');
+ $response = $client->request(
68
+ 'GET',
69
+ 'https://api.github.com/repos/symfony/symfony-docs'
70
+ );
71
72
$statusCode = $response->getStatusCode();
73
// $statusCode = 200
0 commit comments