Kaynağa Gözat

Fix variable masking

Jordi Boggiano 12 yıl önce
ebeveyn
işleme
eb0f35377e
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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);
     }
 
     /**