Skip to content

Commit d7ee0c4

Browse files
kalessilfabpot
authored andcommitted
[2.3] Static Code Analysis for Components
1 parent 5e85e27 commit d7ee0c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dumper/IcuResFileDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public function dump(MessageCatalogue $messages, $options = array())
3030
}
3131

3232
// save a file for each domain
33+
$file = $messages->getLocale().'.'.$this->getExtension();
3334
foreach ($messages->getDomains() as $domain) {
34-
$file = $messages->getLocale().'.'.$this->getExtension();
3535
$path = $options['path'].'/'.$domain.'/';
3636

3737
if (!is_dir($path) && !@mkdir($path) && !is_dir($path)) {

0 commit comments

Comments
 (0)