Skip to content

Commit 6429fb4

Browse files
committed
Let code "breath" a bit
#300
1 parent bd68a10 commit 6429fb4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Service/Importer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ public function extractToCatalogues(Finder $finder, array $catalogues, array $co
115115
}
116116
}
117117
}
118+
118119
foreach ($merge->getObsoleteMessages($domain) as $key => $translation) {
119120
$messageDomain = array_key_exists($key, $resultMessages[$intlDomain] ?? []) ? $intlDomain : $domain;
120121

@@ -140,6 +141,7 @@ private function convertSourceLocationsToMessages(
140141
foreach ($collection as $sourceLocation) {
141142
$context = $sourceLocation->getContext();
142143
$domain = $context['domain'] ?? 'messages';
144+
143145
// Check with white/black list
144146
if (!$this->isValidDomain($domain)) {
145147
continue;

0 commit comments

Comments
 (0)