Skip to content

Commit 58fba0d

Browse files
committed
minor #13658 Update events.rst (l-vo)
This PR was merged into the 3.4 branch. Discussion ---------- Update events.rst The exit code can't come from the terminate event since terminate is dispatched after the error event. Commits ------- a90bcf4 Update events.rst
2 parents 9fb3974 + a90bcf4 commit 58fba0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/console/events.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Listeners receive a
122122

123123
$output->writeln(sprintf('Oops, exception thrown while running command <info>%s</info>', $command->getName()));
124124

125-
// gets the current exit code (the exception code or the exit code set by a ConsoleEvents::TERMINATE event)
125+
// gets the current exit code (the exception code)
126126
$exitCode = $event->getExitCode();
127127

128128
// changes the exception to another one

0 commit comments

Comments
 (0)