File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -30,18 +30,17 @@ services:
30
30
arguments :
31
31
$emailSender : ' %app.notifications.email_sender%'
32
32
33
+ # When your service definition only requires arguments to be specified,
34
+ # you can use a shorter syntax for these:
33
35
AppBundle\Twig\AppExtension :
34
- arguments :
35
- $locales : ' %app_locales%'
36
+ $locales : ' %app_locales%'
36
37
37
38
AppBundle\EventListener\CommentNotificationSubscriber :
38
- arguments :
39
- $sender : ' %app.notifications.email_sender%'
39
+ $sender : ' %app.notifications.email_sender%'
40
40
41
41
AppBundle\EventListener\RedirectToPreferredLocaleSubscriber :
42
- arguments :
43
- $locales : ' %app_locales%'
44
- $defaultLocale : ' %locale%'
42
+ $locales : ' %app_locales%'
43
+ $defaultLocale : ' %locale%'
45
44
46
45
# needed for the localizeddate Twig filter
47
46
Twig\Extensions\IntlExtension : ~
You can’t perform that action at this time.
0 commit comments