8000 remove blank line after filepath in php code block by OskarStark · Pull Request #11373 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

remove blank line after filepath in php code block #11373

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

Merged
Merged
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
1 change: 0 additions & 1 deletion controller/service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ a service like: ``App\Controller\HelloController::index``:
.. code-block:: php-annotations

// src/Controller/HelloController.php

use Symfony\Component\Routing\Annotation\Route;

class HelloController
Expand Down
2 changes: 0 additions & 2 deletions doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -505,9 +505,7 @@ for you automatically! First, install the bundle in case you don't have it:
Now, simplify your controller::

// src/Controller/ProductController.php

use App\Entity\Product;
// ...

/**
* @Route("/product/{id}", name="product_show")
Expand Down
2 changes: 0 additions & 2 deletions messenger/multiple_buses.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ binding capabilities to clarify which bus will be injected based on the argument
.. code-block:: php

// config/services.php

$container->bind('$commandBus', 'messenger.bus.commands');
$container->bind('$queryBus', 'messenger.bus.queries');
$container->bind('$eventBus', 'messenger.bus.events');
Expand Down Expand Up @@ -185,7 +184,6 @@ you can restrict each handler to a specific bus using the ``messenger.message_ha
.. code-block:: php

// config/services.php

$container->services()
->set(App\MessageHandler\SomeCommandHandler::class)
->tag('messenger.message_handler', ['bus' => 'messenger.bus.commands']);
Expand Down
1 change: 0 additions & 1 deletion routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,6 @@ If you need to generate a URL from a service, type-hint the :class:`Symfony\\Com
service::

// src/Service/SomeService.php

use Symfony\Component\Routing\Generator\UrlGeneratorInterface;

class SomeService
Expand Down
0