Skip to content

Commit adb01fe

Browse files
Merge branch '6.2' into 6.3
* 6.2: [Finder] Fix initial directory is opened twice typo fix Fix test Fix some return types in tests
2 parents 87f0769 + a6e5332 commit adb01fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/RegisterListenersPass.php

Lines changed: 1 addition & 1 deletion
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));
94+
throw new InvalidArgumentException(sprintf('None of the "%s" or "__invoke" methods exist for the service "%s". Please define the "method" attribute on "kernel.event_listener" tags.', $event['method'], $id));
9595
}
9696

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

0 commit comments

Comments
 (0)