Core and composer updates
This commit is contained in:
parent
a82634bb98
commit
62cac30480
1118 changed files with 21770 additions and 6306 deletions
|
@ -306,6 +306,12 @@ class TraceableEventDispatcher implements TraceableEventDispatcherInterface
|
|||
'event' => $eventName,
|
||||
'priority' => $this->getListenerPriority($eventName, $listener),
|
||||
);
|
||||
|
||||
// unwrap for correct listener info
|
||||
if ($listener instanceof WrappedListener) {
|
||||
$listener = $listener->getWrappedListener();
|
||||
}
|
||||
|
||||
if ($listener instanceof \Closure) {
|
||||
$info += array(
|
||||
'type' => 'Closure',
|
||||
|
|
Reference in a new issue