8000 [Console] Return an integer with the exit status as the result · symfony/symfony-docs@859c696 · GitHub
[go: up one dir, main page]

Skip to content

Commit 859c696

Browse files
authored
[Console] Return an integer with the exit status as the result
1 parent bff0769 commit 859c696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/console/helpers/questionhelper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ the following to your command::
4040
$question = new ConfirmationQuestion('Continue with this action?', false);
4141

4242
if (!$helper->ask($input, $output, $question)) {
43-
return;
43+
return 0;
4444
}
4545
}
4646
}

0 commit comments

Comments
 (0)
0