瀏覽代碼

Fix variable masking

Jordi Boggiano 12 年之前
父節點
當前提交
eb0f35377e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/Composer/Console/Application.php

+ 2 - 2
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);
     }
 
     /**