Skip to content

Commit bdcf98c

Browse files
author
Iltar van der Berg
committed
Removed unused variables
1 parent 60a24d6 commit bdcf98c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -721,9 +721,8 @@ private function registerTranslatorConfiguration(array $config, ContainerBuilder
721721
->in($dirs)
722722
;
723723

724-
$locales = array();
725724
foreach ($finder as $file) {
726-
list($domain, $locale, $format) = explode('.', $file->getBasename(), 3);
725+
list(, $locale) = explode('.', $file->getBasename(), 3);
727726
if (!isset($files[$locale])) {
728727
$files[$locale] = array();
729728
}

0 commit comments

Comments
 (0)