Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 687f2c6

Browse files
committed
minor #13560 [Console] Return an integer with the exit status as the result (samnela)
This PR was merged into the 4.4 branch. Discussion ---------- [Console] Return an integer with the exit status as the result <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 859c696 [Console] Return an integer with the exit status as the result
2 parents bff0769 + 859c696 commit 687f2c6

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)