Passed
Branch master (a03363)
by Iocaste
04:36
created
Category
src/Console/TransformDocsCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
         $contents = $this->transform($pathTo . $fileName . '.' . $fileExtension);
60 60
         $saveToPath = config('laradox.documentation_source.save_to');
61 61
 
62
-        if (! file_exists($saveToPath)) {
62
+        if (!file_exists($saveToPath)) {
63 63
             mkdir($saveToPath);
64 64
         }
65 65
 
Please login to merge, or discard this patch.
src/Http/Controllers/DocumentationController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
         $settings = config('laradox.documentation_source');
19 19
         $filePath = $settings['save_to'] . '/' . $settings['filename'] . '.json';
20 20
 
21
-        if (! file_exists($filePath)) {
22
-            abort(404, 'Cannot find '.$filePath);
21
+        if (!file_exists($filePath)) {
22
+            abort(404, 'Cannot find ' . $filePath);
23 23
         }
24 24
 
25 25
         $content = json_decode(
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -33,11 +33,11 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function boot()
35 35
     {
36
-        $viewPath = __DIR__.'/../resources/views';
36
+        $viewPath = __DIR__ . '/../resources/views';
37 37
         $this->loadViewsFrom($viewPath, 'laradox');
38 38
 
39
-        $this->app->router->group(['namespace' => 'Iocaste\Laradox'], function ($router) {
40
-            require __DIR__.'/routes.php';
39
+        $this->app->router->group(['namespace' => 'Iocaste\Laradox'], function($router) {
40
+            require __DIR__ . '/routes.php';
41 41
         });
42 42
     }
43 43
 
@@ -48,10 +48,10 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public function register()
50 50
     {
51
-        $configPath = __DIR__.'/../config/laradox.php';
51
+        $configPath = __DIR__ . '/../config/laradox.php';
52 52
         $this->mergeConfigFrom($configPath, 'laradox');
53 53
 
54
-        $this->app->singleton('command.laradox.transform-docs', function () {
54
+        $this->app->singleton('command.laradox.transform-docs', function() {
55 55
             return new TransformDocsCommand();
56 56
         });
57 57
 
Please login to merge, or discard this patch.