From eb0f35377ee60f82620697985c7bc422fe2fba79 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 18 Jun 2013 14:33:16 +0200 Subject: [PATCH] Fix variable masking --- src/Composer/Console/Application.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Composer/Console/Application.php b/src/Composer/Console/Application.php index aaaf55ab5..5b81b474b 100755 --- a/src/Composer/Console/Application.php +++ b/src/Composer/Console/Application.php @@ -144,7 +144,7 @@ class Application extends BaseApplication /** * {@inheritDoc} */ - public function renderException($e, $output) + public function renderException($exception, $output) { try { $composer = $this->getComposer(false); @@ -160,7 +160,7 @@ class Application extends BaseApplication } } catch (\Exception $e) {} - return parent::renderException($e, $output); + return parent::renderException($exception, $output); } /**