8000 minor #18031 [EventDispatcher] fix syntax error (xabbuh) · symfony/symfony@a89154d · GitHub
[go: up one dir, main page]

Skip to content

Commit a89154d

Browse files
committed
minor #18031 [EventDispatcher] fix syntax error (xabbuh)
This PR was merged into the 2.7 branch. Discussion ---------- [EventDispatcher] fix syntax error | Q | A | ------------- | --- | Branch | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #18025 | License | MIT | Doc PR | Commits ------- 98cc980 [EventDispatcher] fix syntax error
2 parents a29e818 + 98cc980 commit a89154d

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)
0