Skip to content

Commit 951bf61

Browse files
committedJul 5, 2023
Merge branch '6.4' into 7.0
* 6.4: typo fix typo fix
2 parents 790e35e + 46a27c2 commit 951bf61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎DependencyInjection/RegisterListenersPass.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function process(ContainerBuilder $container)
9191

9292
if (null !== ($class = $container->getDefinition($id)->getClass()) && ($r = $container->getReflectionClass($class, false)) && !$r->hasMethod($event['method'])) {
9393
if (!$r->hasMethod('__invoke')) {
94-
throw new InvalidArgumentException(sprintf('None of the "%s" or "__invoke" methods exist for the service "foo". Please define the "method" attribute on "kernel.event_listener" tags.', $event['method'], $id, $this->listenerTag));
94+
throw new InvalidArgumentException(sprintf('None of the "%s" or "__invoke" methods exist for the service "foo". Please define the "method" attribute on "kernel.event_listener" tags.', $event['method'], $id));
9595
}
9696

9797
$event['method'] = '__invoke';

0 commit comments

Comments
 (0)
Please sign in to comment.