8000 minor #11373 remove blank line after filepath in php code block (Oska… · trakos/symfony-docs@7e45197 · GitHub
[go: up one dir, main page]

Skip to content
10000

Commit 7e45197

Browse files
committed
minor symfony#11373 remove blank line after filepath in php code block (OskarStark)
This PR was merged into the 4.2 branch. Discussion ---------- remove blank line after filepath in php code block <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Follow up of symfony#11288 but against `4.2` Commits ------- 5539265 remove blank line after filepath in php code block
2 parents a2edc09 + 5539265 commit 7e45197

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
@@ -821,7 +821,6 @@ If you need to generate a URL from a service, type-hint the :class:`Symfony\\Com
821821
service::
822822

823823
// src/Service/SomeService.php
824-
825824
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
826825

827826
class SomeService

0 commit comments

Comments
 (0)
0