Skip to content

Commit 28332af

Browse files
committed
Add trhows PHPDoc in Application::run
1 parent 7890f33 commit 28332af

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)