Passed
Push — master ( 9c0720...aa2608 )
by Vasyl
01:59
created
src/TaxonomyServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
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()
@@ -47,10 +47,10 @@  discard block
 block discarded – undo
47 47
 
48 48
     protected function publishMigrations()
49 49
     {
50
-        if (! class_exists('CreateTaxonomiesTable')) {
50
+        if (!class_exists('CreateTaxonomiesTable')) {
51 51
             $timestamp = date('Y_m_d_His', time());
52 52
 
53
-            $migrationPath = __DIR__.'/../database/migrations/create_taxonomy_tables.php';
53
+            $migrationPath = __DIR__ . '/../database/migrations/create_taxonomy_tables.php';
54 54
             $this->publishes([$migrationPath => database_path('/migrations/' . $timestamp . '_create_taxonomy_tables.php'),
55 55
                 ], 'taxonomy-migrations');
56 56
         }
@@ -58,8 +58,8 @@  discard block
 block discarded – undo
58 58
 
59 59
     protected function overrideModels()
60 60
     {
61
-        if (! class_exists('App\Models\Term\Taxonomy') || ! class_exists('App\Models\Vocabulary\Taxonomy')) {
62
-            $modelPathStub = __DIR__.'/stubs/models/';
61
+        if (!class_exists('App\Models\Term\Taxonomy') || !class_exists('App\Models\Vocabulary\Taxonomy')) {
62
+            $modelPathStub = __DIR__ . '/stubs/models/';
63 63
             $modelPath = $this->checkMakeDir(app_path('Models/Taxonomy')) . '/';
64 64
 
65 65
             $this->publishes([
Please login to merge, or discard this patch.