Completed
Pull Request — master (#1)
by
unknown
07:31
created
src/Controller/DocsController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             // index.html doesn't exist, let's update public/ with swagger-ui files
37 37
             $publicDir = $this->get('file_locator')->locate('@HBSwaggerUiBundle/Resources/public/');
38 38
 
39
-            $swaggerDistDir = $this->getParameter('kernel.root_dir').'/../vendor/swagger-api/swagger-ui/dist';
39
+            $swaggerDistDir = $this->getParameter('kernel.root_dir') . '/../vendor/swagger-api/swagger-ui/dist';
40 40
 
41 41
             // update public dir
42 42
             $this->get('filesystem')->mirror($swaggerDistDir, $publicDir);
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         }
65 65
 
66 66
         // redirect to the assets dir so that relative links work
67
-        return $this->redirect('/bundles/hbswaggerui/'.$fileName);
67
+        return $this->redirect('/bundles/hbswaggerui/' . $fileName);
68 68
     }
69 69
 
70 70
     /**
Please login to merge, or discard this patch.