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 8c900ca commit cc2636bCopy full SHA for cc2636b
http_client.rst
@@ -60,7 +60,10 @@ automatically when type-hinting for :class:`Symfony\\Contracts\\HttpClient\\Http
60
use Symfony\Component\HttpClient\HttpClient;
61
62
$client = HttpClient::create();
63
- $response = $client->request('GET', 'https://api.github.com/repos/symfony/symfony-docs');
+ $response = $client->request(
64
+ 'GET',
65
+ 'https://api.github.com/repos/symfony/symfony-docs'
66
+ );
67
68
$statusCode = $response->getStatusCode();
69
// $statusCode = 200
0 commit comments