Skip to content

Commit 6f3c49c

Browse files
committed
fixing wrong hasDefinition check
1 parent 9e6405b commit 6f3c49c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DependencyInjection/Compiler/CheckForMailerPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function process(ContainerBuilder $container)
3333
}
3434

3535
// the mailer exists, so all is good
36-
if ($container->hasDefinition('mailer')) {
36+
if ($container->has('mailer')) {
3737
return;
3838
}
3939

0 commit comments

Comments
 (0)