Completed
Push — master ( 298f7d...b54616 )
by Simonas
63:50
created
Service/TranslationManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * @param string $id
54 54
      *
55
-     * @return Translation|object
55
+     * @return null|\ReflectionClass
56 56
      */
57 57
     public function get($id)
58 58
     {
Please login to merge, or discard this patch.
Service/Export/ExportManager.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,6 @@
 block discarded – undo
48 48
     private $parser;
49 49
 
50 50
     /**
51
-     * @param ParameterBag   $loadersContainer
52 51
      * @param TranslationManager $translationManager
53 52
      * @param YmlExport          $exporter
54 53
      */
Please login to merge, or discard this patch.
Service/Import/ImportManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,8 +141,8 @@
 block discarded – undo
141 141
     {
142 142
         if (!$directories) {
143 143
             $directories = [
144
-                $path . 'Resources' . DIRECTORY_SEPARATOR . 'translations',
145
-                $this->kernelRoot . DIRECTORY_SEPARATOR . 'Resources' . DIRECTORY_SEPARATOR . $domain . DIRECTORY_SEPARATOR . 'translations',
144
+                $path.'Resources'.DIRECTORY_SEPARATOR.'translations',
145
+                $this->kernelRoot.DIRECTORY_SEPARATOR.'Resources'.DIRECTORY_SEPARATOR.$domain.DIRECTORY_SEPARATOR.'translations',
146 146
             ];
147 147
         }
148 148
 
Please login to merge, or discard this patch.
Command/ExportCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
             $export->export($this->getContainer()->getParameter('ongr_translations.bundles'), $input->getOption('force'));
75 75
         }
76 76
 
77
-        $prettify = function ($array) {
77
+        $prettify = function($array) {
78 78
             return !empty($array) ? implode('</comment><info>`, `</info><comment>', $array) : 'all';
79 79
         };
80 80
 
Please login to merge, or discard this patch.
Command/ImportCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
             $translations = $import->getTranslationsFromFiles(
77 77
                 $domain,
78 78
                 null,
79
-                [$this->getContainer()->getParameter('kernel.root_dir') . DIRECTORY_SEPARATOR . 'Resources' . DIRECTORY_SEPARATOR . 'translations']
79
+                [$this->getContainer()->getParameter('kernel.root_dir').DIRECTORY_SEPARATOR.'Resources'.DIRECTORY_SEPARATOR.'translations']
80 80
             );
81 81
             $import->writeToStorage($domain, $translations);
82 82
             $output->writeln('<info>*** Importing bundles translation files ***</info>');
Please login to merge, or discard this patch.