Skip to content

Commit 9fea1ee

Browse files
author
Iltar van der Berg
committed
Removed unused variables
1 parent bd6d9bb commit 9fea1ee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy