Fix BC layer for events
parent
82b7fdf4c1
commit
eadc167b12
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue