@@ -69,7 +69,7 @@ can be accessed via several public properties:
6969
7070* ``server ``: equivalent of ``$_SERVER ``;
7171
72- * ``headers ``: mostly equivalent to a sub-set of ``$_SERVER ``
72+ * ``headers ``: mostly equivalent to a subset of ``$_SERVER ``
7373 (``$request->headers->get('User-Agent') ``).
7474
7575Each property is a :class: `Symfony\\ Component\\ HttpFoundation\\ ParameterBag `
@@ -90,7 +90,7 @@ instance (or a sub-class of), which is a data holder class:
9090* ``headers ``: :class: `Symfony\\ Component\\ HttpFoundation\\ HeaderBag `.
9191
9292All :class: `Symfony\\ Component\\ HttpFoundation\\ ParameterBag ` instances have
93- methods to retrieve and update its data:
93+ methods to retrieve and update their data:
9494
9595:method: `Symfony\\ Component\\ HttpFoundation\\ ParameterBag::all `
9696 Returns the parameters.
@@ -157,16 +157,16 @@ sometimes, you might want to get the value for the "original" parameter name:
157157:method: `Symfony\\ Component\\ HttpFoundation\\ Request::get ` via the third
158158argument::
159159
160- // the query string is '?foo[bar]=bar'
160+ // the query string is '?foo[bar]=bar'
161161
162- $request->query->get('foo');
163- // returns array('bar' => 'bar')
162+ $request->query->get('foo');
163+ // returns array('bar' => 'bar')
164164
165- $request->query->get('foo[bar]');
166- // returns null
165+ $request->query->get('foo[bar]');
166+ // returns null
167167
168- $request->query->get('foo[bar]', null, true);
169- // returns 'bar'
168+ $request->query->get('foo[bar]', null, true);
169+ // returns 'bar'
170170
171171.. _component-foundation-attributes :
172172
@@ -485,7 +485,7 @@ You can still set the ``Content-Type`` of the sent file, or change its ``Content
485485.. versionadded :: 2.6
486486 The ``deleteFileAfterSend() `` method was introduced in Symfony 2.6.
487487
488- It is possible to delete the file after the request is sent with the
488+ It is possible to delete the file after the request is sent with the
489489:method: `Symfony\\ Component\\ HttpFoundation\\ BinaryFileResponse::deleteFileAfterSend ` method.
490490Please note that this will not work when the ``X-Sendfile `` header is set.
491491
0 commit comments