diff --git a/console/commands_as_services.rst b/console/commands_as_services.rst index 6957cbd4b5d..570bbd381a3 100644 --- a/console/commands_as_services.rst +++ b/console/commands_as_services.rst @@ -122,7 +122,7 @@ Or set the ``command`` attribute on the ``console.command`` tag in your service use AppBundle\Command\SunshineCommand; - //... + // ... $container ->register(SunshineCommand::class) diff --git a/contributing/code/standards.rst b/contributing/code/standards.rst index 8b28f2d64a7..50e194ba725 100644 --- a/contributing/code/standards.rst +++ b/contributing/code/standards.rst @@ -29,9 +29,7 @@ Symfony Coding Standards in Detail If you want to learn about the Symfony coding standards in detail, here's a short example containing most features described below: -.. code-block:: html+php - - new Reference('logger'), ];