diff --git a/http_client.rst b/http_client.rst index e0c6dafd777..d0c49e7050e 100644 --- a/http_client.rst +++ b/http_client.rst @@ -60,7 +60,10 @@ automatically when type-hinting for :class:`Symfony\\Contracts\\HttpClient\\Http use Symfony\Component\HttpClient\HttpClient; $client = HttpClient::create(); - $response = $client->request('GET', 'https://api.github.com/repos/symfony/symfony-docs'); + $response = $client->request( + 'GET', + 'https://api.github.com/repos/symfony/symfony-docs' + ); $statusCode = $response->getStatusCode(); // $statusCode = 200