Skip to content

Commit acec154

Browse files
committed
minor symfony#11038 Some docs fixes (OskarStark)
This PR was squashed before being merged into the 3.4 branch (closes symfony#11038). Discussion ---------- Some docs fixes Please review commit by commit Commits ------- 0b751ed Some docs fixes
2 parents 69cebea + 0b751ed commit acec154

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

console/commands_as_services.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Or set the ``command`` attribute on the ``console.command`` tag in your service
122122
123123
use AppBundle\Command\SunshineCommand;
124124
125-
//...
125+
// ...
126126
127127
$container
128128
->register(SunshineCommand::class)

contributing/code/standards.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ Symfony Coding Standards in Detail
2929
If you want to learn about the Symfony coding standards in detail, here's a
3030
short example containing most features described below:
3131

32-
.. code-block:: html+php
33-
34-
<?php
32+
.. code-block:: php
3533
3634
/*
3735
* This file is part of the Symfony package.

doctrine/repository.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ To do this, add the repository class name to your entity's mapping definition:
2525
*/
2626
class Product
2727
{
28-
//...
28+
// ...
2929
}
3030
3131
.. code-block:: yaml

page_creation.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ random) number and prints it. To do that, create a "Controller class" and a
4545
"controller" method inside of it that will be executed when someone goes to
4646
``/lucky/number``::
4747

48-
<?php
4948
// src/AppBundle/Controller/LuckyController.php
5049
namespace AppBundle\Controller;
5150

service_container/service_subscribers_locators.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,10 +356,10 @@ will share identical locators amongst all the services referencing them::
356356

357357
public function process(ContainerBuilder $container)
358358
{
359-
//...
359+
// ...
360360

361361
$locateableServices = [
362-
//...
362+
// ...
363363
'logger' => new Reference('logger'),
364364
];
365365

0 commit comments

Comments
 (0)