File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ call if the service exists and remove the method call if it does not:
9191
9292 <service id =" app.newsletter_manager" class =" AppBundle\Newsletter\NewsletterManager" >
9393 <call method =" setMailer" >
94- <argument type =" service" id =" my_mailer " on-invalid =" ignore" />
94+ <argument type =" service" id =" app.mailer " on-invalid =" ignore" />
9595 </call >
9696 </service >
9797 </services >
@@ -110,7 +110,7 @@ call if the service exists and remove the method call if it does not:
110110 ->register('app.newsletter_manager', NewsletterManager::class)
111111 ->addMethodCall('setMailer', array(
112112 new Reference(
113- 'my_mailer ',
113+ 'app.mailer ',
114114 ContainerInterface::IGNORE_ON_INVALID_REFERENCE
115115 ),
116116 ))
You can’t perform that action at this time.
0 commit comments