Cleaned up unused code in Symfony\Component\EventDispatcher\EventDispatcher::getListeners()
This commit is contained in:
parent
b66eb4db57
commit
72d71b52f2
@ -76,10 +76,6 @@ class EventDispatcher implements EventDispatcherInterface
|
|||||||
if (!isset($this->sorted[$eventName])) {
|
if (!isset($this->sorted[$eventName])) {
|
||||||
$this->sortListeners($eventName);
|
$this->sortListeners($eventName);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->sorted[$eventName]) {
|
|
||||||
$sorted[$eventName] = $this->sorted[$eventName];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->sorted;
|
return $this->sorted;
|
||||||
|
Reference in New Issue
Block a user