8000 minor #22411 [Console] Add @throws PHPDoc in Command::run() (maidmaid) · symfony/symfony@eff4feb · GitHub
[go: up one dir, main page]

Skip to content

Commit eff4feb

Browse files
committed
minor #22411 [Console] Add @throws PHPDoc in Command::run() (maidmaid)
This PR was merged into the 2.7 branch. Discussion ---------- [Console] Add @throws PHPDoc in Command::run() | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | / | License | MIT | Doc PR | / Commits ------- 7489a14 Add @throws phpdoc
2 parents 0fcf552 + 7489a14 commit eff4feb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/Console/Command/Command.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ protected function initialize(InputInterface $input, OutputInterface $output)
202202
*
203203
* @return int The command exit code
204204
*
205+
* @throws \Exception When binding input fails. Bypass this by calling {@link ignoreValidationErrors()}.
206+
*
205207
* @see setCode()
206208
* @see execute()
207209
*/

0 commit comments

Comments
 (0)
0