Skip to content

Commit b9bbe5d

Browse files
committed
minor symfony#3499 Fix YAML syntax highlight + remove trailing whitespace (ifdattic)
This PR was merged into the 2.4 branch. Discussion ---------- Fix YAML syntax highlight + remove trailing whitespace | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.4 | Fixed tickets | Commits ------- 0723078 Fix YAML syntax highlight + remove trailing whitespace
2 parents 4bb11ea + 0723078 commit b9bbe5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/service_container/scopes.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ scope other than ``container`` and ``prototype``. But for the purposes of
4545
this entry, imagine there is another scope ``client`` and a service ``client_configuration``
4646
that belongs to it. This is not a common situation, but the idea is that
4747
you may enter and exit multiple ``client`` scopes during a request, and each
48-
has its own ``client_configuration`` service.
48+
has its own ``client_configuration`` service.
4949

5050
Scopes add a constraint on the dependencies of a service: a service cannot
5151
depend on services from a narrower scope. For example, if you create a generic
@@ -274,7 +274,7 @@ argument is the ``ClientConfiguration`` object:
274274
my_mailer:
275275
class: Acme\HelloBundle\Mail\Mailer
276276
scope: client
277-
arguments: [@client_configuration]
277+
arguments: ["@client_configuration"]
278278
279279
.. code-block:: xml
280280

0 commit comments

Comments
 (0)