From b6c17dfb5e6aaff8a33482612ae2a6e6c8df1c0b Mon Sep 17 00:00:00 2001 From: Craig Duncan Date: Mon, 1 Oct 2018 15:53:15 +0100 Subject: [PATCH] Don't return early as this bypasses the auto exit feature --- src/Symfony/Component/Console/Application.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Symfony/Component/Console/Application.php b/src/Symfony/Component/Console/Application.php index 6bad2b5425..1d415636fc 100644 --- a/src/Symfony/Component/Console/Application.php +++ b/src/Symfony/Component/Console/Application.php @@ -162,8 +162,6 @@ class Application } else { $exitCode = 1; } - - return $exitCode; } finally { // if the exception handler changed, keep it // otherwise, unregister $renderException