Skip to content

Commit cea8d14

Browse files
Update http_client.rst
Co-authored-by: Oskar Stark <oskarstark@googlemail.com>
1 parent 086c3d3 commit cea8d14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

http_client.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2037,8 +2037,8 @@ To return json, you would normally do::
20372037
use Symfony\Component\HttpClient\Response\MockResponse;
20382038

20392039
$response = new MockResponse(json_encode([
2040-
'foo' => 'bar',
2041-
]), [
2040+
'foo' => 'bar',
2041+
]), [
20422042
'response_headers' => [
20432043
'content-type' => 'application/json',
20442044
],

0 commit comments

Comments
 (0)