From 28332afb38a63d018295a602ad98d2284562a403 Mon Sep 17 00:00:00 2001 From: Dany Maillard Date: Thu, 13 Apr 2017 23:07:15 +0200 Subject: [PATCH] Add trhows PHPDoc in Application::run --- src/Symfony/Component/Console/Application.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Symfony/Component/Console/Application.php b/src/Symfony/Component/Console/Application.php index bc5e9ee66c..f9b90d56a3 100644 --- a/src/Symfony/Component/Console/Application.php +++ b/src/Symfony/Component/Console/Application.php @@ -103,6 +103,8 @@ class Application * @param OutputInterface $output An Output instance * * @return int 0 if everything went fine, or an error code + * + * @throws \Exception When running fails. Bypass this when {@link setCatchExceptions()}. */ public function run(InputInterface $input = null, OutputInterface $output = null) {