瀏覽代碼

Fix HHVM interop

Jordi Boggiano 10 年之前
父節點
當前提交
07ad1da3ac
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Composer/EventDispatcher/EventDispatcher.php

+ 1 - 1
src/Composer/EventDispatcher/EventDispatcher.php

@@ -219,7 +219,7 @@ class EventDispatcher
 
         try {
             $reflected = new \ReflectionParameter($target, 0);
-        } catch (\ReflectionException $e) {
+        } catch (\Exception $e) {
             return $event;
         }