From 07ad1da3ac7faa035003cce8c2456829c1c47838 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sat, 13 Dec 2014 11:13:25 +0000 Subject: [PATCH] Fix HHVM interop --- src/Composer/EventDispatcher/EventDispatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/EventDispatcher/EventDispatcher.php b/src/Composer/EventDispatcher/EventDispatcher.php index 83e96d622..c5033124e 100644 --- a/src/Composer/EventDispatcher/EventDispatcher.php +++ b/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; }