Skip to content

Commit 76d7b82

Browse files
committed
minor #15221 [HttpFoundation] Minor fixes (sebpacz)
This PR was merged into the 5.2 branch. Discussion ---------- [HttpFoundation] Minor fixes <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 2a39702 [HttpFoundation] Minor fixes
2 parents 607ec30 + 2a39702 commit 76d7b82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/http_foundation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Finally, the raw data sent with the request body can be accessed using
190190

191191
$content = $request->getContent();
192192

193-
For instance, this may be useful to process a XML string sent to the
193+
For instance, this may be useful to process an XML string sent to the
194194
application by a remote service using the HTTP POST method.
195195

196196
If the request body is a JSON string, it can be accessed using
@@ -519,7 +519,7 @@ call::
519519
's_maxage' => 600,
520520
'immutable' => true,
521521
'last_modified' => new \DateTime(),
522-
'etag' => 'abcdef'
522+
'etag' => 'abcdef',
523523
]);
524524

525525
.. versionadded:: 5.1

0 commit comments

Comments
 (0)