Explorar el Código

Fix HHVM interop

Jordi Boggiano hace 10 años
padre
commit
07ad1da3ac
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
         }