Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit58fba0d

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

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)

[8]ページ先頭

©2009-2025 Movatter.jp