Ver Fonte

Fix HHVM interop

Jordi Boggiano há 10 anos atrás
pai
commit
07ad1da3ac
1 ficheiros alterados com 1 adições e 1 exclusões
  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;
         }