@@ -60,7 +60,7 @@ |
||
60 | 60 | $domains = $input->getOption('domains'); |
61 | 61 | $export->export($domains); |
62 | 62 | |
63 | - $prettify = function ($array) { |
|
63 | + $prettify = function($array) { |
|
64 | 64 | return !empty($array) ? implode('</comment><info>`, `</info><comment>', $array) : 'all'; |
65 | 65 | }; |
66 | 66 |
@@ -147,9 +147,8 @@ |
||
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 | } |