File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 2020use Symfony \Component \Translation \Formatter \IntlFormatterInterface ;
2121use Symfony \Component \Translation \Formatter \MessageFormatter ;
2222use Symfony \Component \Translation \Loader \ArrayLoader ;
23+ use Symfony \Component \Translation \Loader \YamlFileLoader ;
2324use Symfony \Component \Translation \MessageCatalogue ;
2425use Symfony \Component \Translation \TranslatableMessage ;
2526use Symfony \Component \Translation \Translator ;
@@ -349,7 +350,7 @@ public function testNestedFallbackCatalogueWhenUsingMultipleLocales()
349350 public function testFallbackCatalogueResources ()
350351 {
351352 $ translator = new Translator ('en_GB ' );
352- $ translator ->addLoader ('yml ' , new \ Symfony \ Component \ Translation \ Loader \ YamlFileLoader ());
353+ $ translator ->addLoader ('yml ' , new YamlFileLoader ());
353354 $ translator ->addResource ('yml ' , __DIR__ .'/Fixtures/empty.yml ' , 'en_GB ' );
354355 $ translator ->addResource ('yml ' , __DIR__ .'/Fixtures/resources.yml ' , 'en ' );
355356
You can’t perform that action at this time.
0 commit comments