Skip to content

Commit cc10e47

Browse files
committed
Merge branch '2.3' into 2.7
2 parents 9fa5033 + a355dbd commit cc10e47

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

components/console/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,6 @@ Learn More!
581581
* :doc:`/components/console/console_arguments`
582582

583583
.. _Packagist: https://packagist.org/packages/symfony/console
584-
.. _ConEmu: https://code.google.com/p/conemu-maximus5/
584+
.. _ConEmu: https://conemu.github.io/
585585
.. _ANSICON: https://github.com/adoxa/ansicon/releases
586586
.. _Mintty: https://mintty.github.io/

components/http_foundation/introduction.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -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

7575
Each 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

9292
All :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
158158
argument::
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

@@ -515,7 +515,7 @@ You can still set the ``Content-Type`` of the sent file, or change its ``Content
515515
.. versionadded:: 2.6
516516
The ``deleteFileAfterSend()`` method was introduced in Symfony 2.6.
517517

518-
It is possible to delete the file after the request is sent with the
518+
It is possible to delete the file after the request is sent with the
519519
:method:`Symfony\\Component\\HttpFoundation\\BinaryFileResponse::deleteFileAfterSend` method.
520520
Please note that this will not work when the ``X-Sendfile`` header is set.
521521

cookbook/routing/custom_route_loader.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A custom route loader does not enable your bundle to inject routes
1616
without the need to modify the routing configuration
1717
(e.g. ``app/config/routing.yml``) manually.
1818
If your bundle provides routes, whether via a configuration file, like
19-
the `WebProfilerBundle` does, or via a custom route loader, like the
19+
the `WebProfilerBundle` does, or via a custom route loader, like the
2020
`FOSRestBundle`_ does, an entry in the routing configuration is always
2121
necessary.
2222

@@ -46,7 +46,7 @@ Take these lines from the ``routing.yml`` in the Symfony Standard Edition:
4646
4747
# app/config/routing.yml
4848
app:
49-
resource: @AppBundle/Controller/
49+
resource: "@AppBundle/Controller/"
5050
type: annotation
5151
5252
When the main loader parses this, it tries all registered delegate loaders and calls

reference/configuration/twig.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ TwigBundle Configuration ("twig")
4040
4141
# The following were added in Symfony 2.3.
4242
# See http://twig.sensiolabs.org/doc/recipes.html#using-the-template-name-to-set-the-default-escaping-strategy
43-
autoescape_service: ~ # Example: @my_service
43+
autoescape_service: ~ # Example: "@my_service"
4444
autoescape_service_method: ~ # use in combination with autoescape_service option
4545
base_template_class: ~ # Example: Twig_Template
4646
cache: "%kernel.cache_dir%/twig"

0 commit comments

Comments
 (0)