8000 minor #22430 [Console] Add throws PHPDoc in Application::run() (maidm… · symfony/symfony@301bfa4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 301bfa4

Browse files
committed
minor #22430 [Console] Add throws PHPDoc in Application::run() (maidmaid)
This PR was merged into the 2.7 branch. Discussion ---------- [Console] Add throws PHPDoc in Application::run() | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | / | License | MIT | Doc PR | / Same idea than merged #22411. Commits ------- 28332af Add trhows PHPDoc in Application::run
2 parents 5d83502 + 28332af commit 301bfa4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/Console/Application.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ public function setDispatcher(EventDispatcherInterface $dispatcher)
103103
* @param OutputInterface $output An Output instance
104104
*
105105
* @return int 0 if everything went fine, or an error code
106+
*
107+
* @throws \Exception When running fails. Bypass this when {@link setCatchExceptions()}.
106108
*/
107109
public function run(InputInterface $input = null, OutputInterface $output = null)
108110
{

0 commit comments

Comments
 (0)
0