Completed
Pull Request — master (#79)
by Simonas
183:58 queued 119:02
created
Command/ExportCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Service/Import.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -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.
Controller/ListController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.