Removed unnecessary getDefinition() call.
This commit is contained in:
parent
19e5ed1bcf
commit
d1f7024e14
@ -62,8 +62,6 @@ class RegisterListenersPass implements CompilerPassInterface
|
||||
$definition = $container->findDefinition($this->dispatcherService);
|
||||
|
||||
foreach ($container->findTaggedServiceIds($this->listenerTag, true) as $id => $events) {
|
||||
$def = $container->getDefinition($id);
|
||||
|
||||
foreach ($events as $event) {
|
||||
$priority = isset($event['priority']) ? $event['priority'] : 0;
|
||||
|
||||
|
Reference in New Issue
Block a user