|
@@ -147,9 +147,8 @@ |
|
|
block discarded – undo |
|
147
|
147
|
public function importBundlesTranslationFiles($bundles, $isBundle = false) |
|
148
|
148
|
{ |
|
149
|
149
|
foreach ($bundles as $bundle) { |
|
150
|
|
- $dir = $isBundle? |
|
151
|
|
- dir($bundle->getPath())->path : |
|
152
|
|
- dirname((new \ReflectionClass($bundle))->getFilename()); |
|
|
150
|
+ $dir = $isBundle ? |
|
|
151
|
+ dir($bundle->getPath())->path : dirname((new \ReflectionClass($bundle))->getFilename()); |
|
153
|
152
|
|
|
154
|
153
|
$this->importBundleTranslationFiles($dir); |
|
155
|
154
|
} |
Please login to merge, or discard this patch.