Completed
Push — master ( cdb1c3...ab4554 )
by Prateek
04:40 queued 02:13
created
src/LaragenServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     public function boot()
13 13
     {
14 14
         $this->publishes([
15
-            __DIR__ . '/../config/laragen.php' => config_path('laragen.php')
15
+            __DIR__.'/../config/laragen.php' => config_path('laragen.php')
16 16
         ], 'config');
17 17
     }
18 18
     /**
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     public function register()
22 22
     {
23 23
         $this->mergeConfigFrom(
24
-            __DIR__ . '/../config/laragen.php',
24
+            __DIR__.'/../config/laragen.php',
25 25
             'laragen'
26 26
         );
27 27
 
Please login to merge, or discard this patch.
src/Commands/Generate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
             ],
63 63
             $this->getStub('Migration')
64 64
         );
65
-        file_put_contents($this->laravel->databasePath(). "/migrations/" . date('Y_m_d_His') . "_create_" . strtolower(str_plural($model)) . "_table.php", $migrationTemplate);
65
+        file_put_contents($this->laravel->databasePath()."/migrations/".date('Y_m_d_His')."_create_".strtolower(str_plural($model))."_table.php", $migrationTemplate);
66 66
     }
67 67
 
68 68
     protected function model($model)
@@ -97,6 +97,6 @@  discard block
 block discarded – undo
97 97
 
98 98
     protected function getStub($type)
99 99
     {
100
-        return file_get_contents(__DIR__ . "/../resources/stubs/" . $type . ".stub");
100
+        return file_get_contents(__DIR__."/../resources/stubs/".$type.".stub");
101 101
     }
102 102
 }
Please login to merge, or discard this patch.