@@ -12,7 +12,7 @@ discard block |
||
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 |
||
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 |
@@ -62,7 +62,7 @@ discard block |
||
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 |
||
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 | } |