Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Some docs fixes #11038

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2 console/commands_as_services.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 1 addition & 3 deletions 4 contributing/code/standards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

<?php
.. code-block:: php

/*
* This file is part of the Symfony package.
Expand Down
2 changes: 1 addition & 1 deletion 2 doctrine/repository.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ To do this, add the repository class name to your entity's mapping definition:
*/
class Product
{
//...
// ...
}

.. code-block:: yaml
Expand Down
1 change: 0 additions & 1 deletion 1 page_creation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ random) number and prints it. To do that, create a "Controller class" and a
"controller" method inside of it that will be executed when someone goes to
``/lucky/number``::

<?php
// src/AppBundle/Controller/LuckyController.php
namespace AppBundle\Controller;

Expand Down
4 changes: 2 additions & 2 deletions 4 service_container/service_subscribers_locators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -356,10 +356,10 @@ will share identical locators amongst all the services referencing them::

public function process(ContainerBuilder $container)
{
//...
// ...

$locateableServices = [
//...
// ...
'logger' => new Reference('logger'),
];

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.