Permalink
Browse files

minor #3499 Fix YAML syntax highlight + remove trailing whitespace (i…

…fdattic)

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
  • Loading branch information...
weaverryan committed Jan 22, 2014
2 parents 4bb11ea + 0723078 commit b9bbe5d5f8cb427f1a52e839f23a0f286da1a010
Showing with 2 additions and 2 deletions.
  1. +2 −2 cookbook/service_container/scopes.rst
@@ -45,7 +45,7 @@ scope other than ``container`` and ``prototype``. But for the purposes of
this entry, imagine there is another scope ``client`` and a service ``client_configuration``
that belongs to it. This is not a common situation, but the idea is that
you may enter and exit multiple ``client`` scopes during a request, and each
has its own ``client_configuration`` service.
has its own ``client_configuration`` service.
Scopes add a constraint on the dependencies of a service: a service cannot
depend on services from a narrower scope. For example, if you create a generic
@@ -274,7 +274,7 @@ argument is the ``ClientConfiguration`` object:
my_mailer:
class: Acme\HelloBundle\Mail\Mailer
scope: client
arguments: [@client_configuration]
arguments: ["@client_configuration"]
.. code-block:: xml

0 comments on commit b9bbe5d

Please sign in to comment.