@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | */ |
30 | 30 | public function register() |
31 | 31 | { |
32 | - $this->mergeConfigFrom(__DIR__.'/../config/taxonomy.php', 'taxonomy'); |
|
32 | + $this->mergeConfigFrom(__DIR__ . '/../config/taxonomy.php', 'taxonomy'); |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | protected function publishConfig() |
@@ -48,19 +48,19 @@ discard block |
||
48 | 48 | |
49 | 49 | protected function publishMigrations() |
50 | 50 | { |
51 | - if (! class_exists('CreateTaxonomiesTable')) { |
|
51 | + if (!class_exists('CreateTaxonomiesTable')) { |
|
52 | 52 | $timestamp = date('Y_m_d_His', time()); |
53 | 53 | |
54 | 54 | $this->publishes([ |
55 | - __DIR__.'/../database/migrations/create_taxonomy_tables.php' => database_path('/migrations/' . $timestamp . '_create_taxonomy_tables.php'), |
|
55 | + __DIR__ . '/../database/migrations/create_taxonomy_tables.php' => database_path('/migrations/' . $timestamp . '_create_taxonomy_tables.php'), |
|
56 | 56 | ], 'taxonomy-migrations'); |
57 | 57 | } |
58 | 58 | } |
59 | 59 | |
60 | 60 | protected function overrideModels() |
61 | 61 | { |
62 | - if (! class_exists('App\Models\Term\Taxonomy') || ! class_exists('App\Models\Vocabulary\Taxonomy')) { |
|
63 | - $modelPathStub = __DIR__.'/stubs/models/'; |
|
62 | + if (!class_exists('App\Models\Term\Taxonomy') || !class_exists('App\Models\Vocabulary\Taxonomy')) { |
|
63 | + $modelPathStub = __DIR__ . '/stubs/models/'; |
|
64 | 64 | $modelPath = $this->checkMakeDir(app_path('Models/Taxonomy')) . '/'; |
65 | 65 | |
66 | 66 | $this->publishes([ |