Skip to content

Commit 98cc980

Browse files
committed
[EventDispatcher] fix syntax error
1 parent a29e818 commit 98cc980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/EventDispatcher/DependencyInjection/RegisterListenersPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function process(ContainerBuilder $container)
9999
$class = $container->getParameterBag()->resolveValue($def->getClass());
100100

101101
$interface = 'Symfony\Component\EventDispatcher\EventSubscriberInterface';
102-
if (!is_subclass_of($class, $interface))) {
102+
if (!is_subclass_of($class, $interface)) {
103103
throw new \InvalidArgumentException(sprintf('Service "%s" must implement interface "%s".', $id, $interface));
104104
}
105105

0 commit comments

Comments
 (0)