@@ -102,7 +102,7 @@ |
||
102 | 102 | { |
103 | 103 | if (!in_array(Versionable::class, class_uses($model), true)) { |
104 | 104 | throw new NotVersionableModel( |
105 | - "{$model} not use Versionable " . config('versionable.version_model') |
|
105 | + "{$model} not use Versionable ".config('versionable.version_model') |
|
106 | 106 | ); |
107 | 107 | } |
108 | 108 | $versionClass = $model->getVersionModel(); |
@@ -24,14 +24,14 @@ discard block |
||
24 | 24 | */ |
25 | 25 | public function boot(): void |
26 | 26 | { |
27 | - $this->loadMigrationsFrom(__DIR__ . '/../migrations'); |
|
27 | + $this->loadMigrationsFrom(__DIR__.'/../migrations'); |
|
28 | 28 | |
29 | 29 | $this->publishes([ |
30 | - __DIR__ . '/../migrations' => database_path('migrations'), |
|
30 | + __DIR__.'/../migrations' => database_path('migrations'), |
|
31 | 31 | ], 'migrations'); |
32 | 32 | |
33 | 33 | $this->publishes([ |
34 | - __DIR__ . '/../config/versionable.php' => config_path('versionable.php'), |
|
34 | + __DIR__.'/../config/versionable.php' => config_path('versionable.php'), |
|
35 | 35 | ], 'config'); |
36 | 36 | } |
37 | 37 | |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | public function register(): void |
42 | 42 | { |
43 | 43 | $this->mergeConfigFrom( |
44 | - __DIR__ . '/../config/versionable.php', |
|
44 | + __DIR__.'/../config/versionable.php', |
|
45 | 45 | 'versionable' |
46 | 46 | ); |
47 | 47 | } |