| @@ -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 | } | 
| @@ -11,8 +11,6 @@ | ||
| 11 | 11 | |
| 12 | 12 | namespace ONGR\TranslationsBundle\Controller; | 
| 13 | 13 | |
| 14 | -use ONGR\ElasticsearchBundle\Result\Result; | |
| 15 | -use ONGR\ElasticsearchDSL\Aggregation\TermsAggregation; | |
| 16 | 14 | use ONGR\ElasticsearchBundle\Service\Repository; | 
| 17 | 15 | use ONGR\FilterManagerBundle\Filter\ViewData; | 
| 18 | 16 | use ONGR\FilterManagerBundle\Search\SearchResponse; |