Skip to content

Commit 9403253

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: Update http_client.rst
2 parents 2f64d14 + 60115b5 commit 9403253

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

http_client.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ automatically when type-hinting for :class:`Symfony\\Contracts\\HttpClient\\Http
5858
use Symfony\Component\HttpClient\HttpClient;
5959
6060
$client = HttpClient::create();
61-
$response = $client->request('GET', 'https://api.github.com/repos/symfony/symfony-docs');
61+
$response = $client->request(
62+
'GET',
63+
'https://api.github.com/repos/symfony/symfony-docs'
64+
);
6265
6366
$statusCode = $response->getStatusCode();
6467
// $statusCode = 200

0 commit comments

Comments
 (0)