Skip to content

Commit ec83642

Browse files
Merge branch '6.4' into 7.0
* 6.4: [Finder] Fix initial directory is opened twice typo fix Fix test Fix some return types in tests
2 parents 09b24c4 + a246917 commit ec83642

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
@@ -88,7 +88,7 @@ public function process(ContainerBuilder $container): void
8888

8989
if (null !== ($class = $container->getDefinition($id)->getClass()) && ($r = $container->getReflectionClass($class, false)) && !$r->hasMethod($event['method'])) {
9090
if (!$r->hasMethod('__invoke')) {
91-
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));
91+
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));
9292
}
9393

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

0 commit comments

Comments
 (0)