You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #12703 [WIP][Console] Fix missing return in console documentation on execute function (JeremieSamson)
This PR was submitted for the 5.0 branch but it was merged into the 4.4 branch instead (closes#12703).
Discussion
----------
[WIP][Console] Fix missing return in console documentation on execute function
Since Symfony 5.0, we have an error if we don't return an int on the `execute` function, I added it in the doc so there will not be an `TypeError` when trying this.
<!--
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
-------
e2d1c06 Update console.rst
0 commit comments