Skip to content

Commit 4617efc

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: Events are dispatched, not thrown [Doctrine/Events] Fix bad argument name in example
2 parents c5262ec + d680ee3 commit 4617efc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/http_kernel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ Handling Exceptions: the ``kernel.exception`` Event
509509
:ref:`Kernel Events Information Table <component-http-kernel-event-table>`
510510

511511
If an exception is thrown at any point inside ``HttpKernel::handle()``, another
512-
event - ``kernel.exception`` is thrown. Internally, the body of the ``handle()``
512+
event - ``kernel.exception`` is dispatched. Internally, the body of the ``handle()``
513513
method is wrapped in a try-catch block. When any exception is thrown, the
514514
``kernel.exception`` event is dispatched so that your system can somehow respond
515515
to the exception.

doctrine/events.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ with the ``doctrine.event_listener`` tag:
200200
201201
use App\EventListener\SearchIndexer;
202202
203-
return static function (ContainerConfigurator $container) {
203+
return static function (ContainerConfigurator $configurator) {
204204
$services = $configurator->services();
205205
206206
// listeners are applied by default to all Doctrine connections

0 commit comments

Comments
 (0)