Skip to content

Commit 0723078

Browse files
committed
Fix YAML syntax highlight + remove trailing whitespace
1 parent d52f3f8 commit 0723078

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)