Skip to content

Commit 1dcb818

Browse files
committed
Merge branch '4.2'
* 4.2: remove blank line after filepath in php code block
2 parents c1c4185 + 7e45197 commit 1dcb818

File tree

4 files changed

+0
-6
lines changed

4 files changed

+0
-6
lines changed

controller/service.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ a service like: ``App\Controller\HelloController::index``:
2626
.. code-block:: php-annotations
2727
2828
// src/Controller/HelloController.php
29-
3029
use Symfony\Component\Routing\Annotation\Route;
3130
3231
class HelloController

doctrine.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,9 +505,7 @@ for you automatically! First, install the bundle in case you don't have it:
505505
Now, simplify your controller::
506506

507507
// src/Controller/ProductController.php
508-
509508
use App\Entity\Product;
510-
// ...
511509

512510
/**
513511
* @Route("/product/{id}", name="product_show")

messenger/multiple_buses.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ binding capabilities to clarify which bus will be injected based on the argument
145145
.. code-block:: php
146146
147147
// config/services.php
148-
149148
$container->bind('$commandBus', 'messenger.bus.commands');
150149
$container->bind('$queryBus', 'messenger.bus.queries');
151150
$container->bind('$eventBus', 'messenger.bus.events');
@@ -185,7 +184,6 @@ you can restrict each handler to a specific bus using the ``messenger.message_ha
185184
.. code-block:: php
186185
187186
// config/services.php
188-
189187
$container->services()
190188
->set(App\MessageHandler\SomeCommandHandler::class)
191189
->tag('messenger.message_handler', ['bus' => 'messenger.bus.commands']);

routing.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,6 @@ If you need to generate a URL from a service, type-hint the :class:`Symfony\\Com
921921
service::
922922

923923
// src/Service/SomeService.php
924-
925924
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
926925

927926
class SomeService

0 commit comments

Comments
 (0)