1
0
Fork 0

Fix BC layer for events

pull/3474/head
Jordi Boggiano 2015-03-02 18:20:22 +00:00
parent 82b7fdf4c1
commit eadc167b12
1 changed files with 0 additions and 4 deletions

View File

@ -205,10 +205,6 @@ class EventDispatcher
*/
protected function checkListenerExpectedEvent($target, Event $event)
{
if (!$event instanceof Script\Event) {
return $event;
}
try {
$reflected = new \ReflectionParameter($target, 0);
} catch (\Exception $e) {