Skip to content

Commit 018f5a4

Browse files
committed
minor #10837 [Console] Fix duplicated text in console events (fre5h)
This PR was merged into the 4.1 branch. Discussion ---------- [Console] Fix duplicated text in console events In the [documentation for console events](https://symfony.com/doc/4.1/components/console/events.html#the-consoleevents-error-event), block about `ConsoleEvents::ERROR` is duplicated twice. Duplication appeared in branch 4.1 and still present in master ![duplication](https://user-images.githubusercontent.com/815865/50646442-bba59e00-0f7e-11e9-8a2c-99c9a3f8a513.png) Commits ------- 75a5348 Fix duplicated text
2 parents 0f94f96 + 75a5348 commit 018f5a4

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

components/console/events.rst

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,6 @@ event listeners, the ``ConsoleEvents::ERROR`` event is dispatched. A listener
9494
can wrap or change the exception or do anything useful before the exception is
9595
thrown by the application.
9696

97-
The ``ConsoleEvents::ERROR`` Event
98-
----------------------------------
99-
100-
**Typical Purposes**: Handle exceptions thrown during the execution of a
101-
command.
102-
103-
Whenever an exception is thrown by a command, including those triggered from
104-
event listeners, the ``ConsoleEvents::ERROR`` event is dispatched. A listener
105-
can wrap or change the exception or do anything useful before the exception is
106-
thrown by the application.
107-
10897
Listeners receive a
10998
:class:`Symfony\\Component\\Console\\Event\\ConsoleErrorEvent` event::
11099

0 commit comments

Comments
 (0)