Skip to content

Commit 576a55c

Browse files
committed
reverted some changes not needed in 3.0
1 parent 2100ecd commit 576a55c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,6 @@ public function getListeners($eventName = null)
104104
*/
105105
public function getListenerPriority($eventName, $listener)
106106
{
107-
if (!method_exists($this->dispatcher, 'getListenerPriority')) {
108-
return 0;
109-
}
110-
111107
return $this->dispatcher->getListenerPriority($eventName, $listener);
112108
}
113109

0 commit comments

Comments
 (0)