Completed
Push — master ( 2faef5...2c882d )
by
unknown
29s
created
src/SumoCoders/FrameworkCoreBundle/Controller/DefaultController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,10 +37,10 @@  discard block
 block discarded – undo
37 37
 
38 38
         // cache the result when we're in production environment
39 39
         if ($this->container->get('kernel')->getEnvironment() === 'prod') {
40
-            $webDir = $this->get('kernel')->getRootDir() . '/../web/';
40
+            $webDir = $this->get('kernel')->getRootDir().'/../web/';
41 41
             $fs = new Filesystem();
42 42
             $fs->dumpfile(
43
-                $webDir . $request->getLocale() . '/locale.json',
43
+                $webDir.$request->getLocale().'/locale.json',
44 44
                 json_encode($translations)
45 45
             );
46 46
         }
@@ -87,12 +87,12 @@  discard block
 block discarded – undo
87 87
         $dirs = [];
88 88
         foreach ($this->container->getParameter('kernel.bundles') as $bundle) {
89 89
             $reflection = new \ReflectionClass($bundle);
90
-            if (is_dir($dir = dirname($reflection->getFilename()) . '/Resources/translations')) {
90
+            if (is_dir($dir = dirname($reflection->getFilename()).'/Resources/translations')) {
91 91
                 $dirs[] = $dir;
92 92
             }
93 93
         }
94 94
 
95
-        if (is_dir($dir = $this->container->getParameter('kernel.root_dir') . '/Resources/translations')) {
95
+        if (is_dir($dir = $this->container->getParameter('kernel.root_dir').'/Resources/translations')) {
96 96
             $dirs[] = $dir;
97 97
         }
98 98
 
Please login to merge, or discard this patch.