8000 Try to get away without requirement bumps in FrameworkBundle · symfony/symfony@48bd240 · GitHub
[go: up one dir, main page]

Skip to content

Commit 48bd240

Browse files
committed
Try to get away without requirement bumps in FrameworkBundle
1 parent 532a72c commit 48bd240

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/translation.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
'debug' => param('kernel.debug'),
6262
],
6363
abstract_arg('enabled locales'),
64-
service('translation.fallback_locale_provider')
64+
service('translation.fallback_locale_provider')->ignoreOnInvalid()
6565
])
6666
->call('setConfigCacheFactory', [service('config_cache_factory')])
6767
->tag('kernel.locale_aware')
@@ -79,6 +79,7 @@
7979
->args([service('identity_translator')])
8080

8181
->set('translation.fallback_locale_provider', FallbackLocaleProvider::class)
82+
8283
->alias(FallbackLocaleProviderInterface::class, 'translation.fallback_locale_provider')
8384

8485
->set('translation.loader.php', PhpFileLoader::class)

0 commit comments

Comments
 (0)
0