Skip to content

Commit

Permalink
Remove double spaces in some YAML configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelperrin committed Oct 19, 2016
1 parent 80a70b4 commit d60d6c2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions console/commands_as_services.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ with ``console.command``:
app.command.my_command:
class: AppBundle\Command\MyCommand
tags:
- { name: console.command }
- { name: console.command }
.. code-block:: xml
Expand Down Expand Up @@ -137,7 +137,7 @@ inject the ``command.default_name`` parameter:
class: AppBundle\Command\MyCommand
arguments: ["%command.default_name%"]
tags:
- { name: console.command }
- { name: console.command }
.. code-block:: xml
Expand Down
2 changes: 1 addition & 1 deletion security/securing_services.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ the :ref:`sidebar <securing-services-annotations-sidebar>` below):
newsletter_manager:
class: AppBundle\Newsletter\NewsletterManager
tags:
- { name: security.secure_service }
- { name: security.secure_service }
.. code-block:: xml
Expand Down
10 changes: 5 additions & 5 deletions service_container/tags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ to be used for a specific purpose. Take the following example:
class: AppBundle\Extension\FooExtension
public: false
tags:
- { name: twig.extension }
- { name: twig.extension }
.. code-block:: xml
Expand Down Expand Up @@ -146,12 +146,12 @@ For example, you may add the following transports as services:
class: \Swift_SmtpTransport
arguments: ['%mailer_host%']
tags:
- { name: app.mail_transport }
- { name: app.mail_transport }
app.sendmail_transport:
class: \Swift_SendmailTransport
tags:
- { name: app.mail_transport }
- { name: app.mail_transport }
.. code-block:: xml
Expand Down Expand Up @@ -290,12 +290,12 @@ To answer this, change the service declaration:
class: \Swift_SmtpTransport
arguments: ['%mailer_host%']
tags:
- { name: app.mail_transport, alias: foo }
- { name: app.mail_transport, alias: foo }
app.sendmail_transport:
class: \Swift_SendmailTransport
tags:
- { name: app.mail_transport, alias: bar }
- { name: app.mail_transport, alias: bar }
.. code-block:: xml
Expand Down

0 comments on commit d60d6c2

Please sign in to comment.