Skip to content

Commit 5dcc00e

Browse files
typo fix
1 parent 9fe832d commit 5dcc00e

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
@@ -117,7 +117,7 @@ public function process(ContainerBuilder $container)
117117

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

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

0 commit comments

Comments
 (0)