File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Translation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -460,7 +460,7 @@ private function loadFallbackCatalogues(string $locale): void
460
460
protected function computeFallbackLocales ($ locale )
461
461
{
462
462
if (null === $ this ->parentLocales ) {
463
- $ parentLocales = json_decode (file_get_contents (__DIR__ .'/Resources/data/parents.json ' ), true );
463
+ $ this -> parentLocales = json_decode (file_get_contents (__DIR__ .'/Resources/data/parents.json ' ), true );
464
464
}
465
465
466
466
$ locales = [];
@@ -473,7 +473,7 @@ protected function computeFallbackLocales($locale)
473
473
}
474
474
475
475
while ($ locale ) {
476
- $ parent = $ parentLocales [$ locale ] ?? null ;
476
+ $ parent = $ this -> parentLocales [$ locale ] ?? null ;
477
477
478
478
if ($ parent ) {
479
479
$ locale = 'root ' !== $ parent ? $ parent : null ;
You can’t perform that action at this time.
0 commit comments