@@ -12,7 +12,7 @@ |
||
12 | 12 | |
13 | 13 | public function setUp(): void |
14 | 14 | { |
15 | - parent::setUp(); |
|
15 | + parent::setUp(); |
|
16 | 16 | } |
17 | 17 | |
18 | 18 | protected function defineDatabaseMigrations() |
@@ -18,7 +18,7 @@ |
||
18 | 18 | protected function defineDatabaseMigrations() |
19 | 19 | { |
20 | 20 | $this->loadLaravelMigrations(); |
21 | - $this->loadMigrationsFrom(__DIR__.'/../src/migrations'); |
|
21 | + $this->loadMigrationsFrom(__DIR__ . '/../src/migrations'); |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | protected function getPackageProviders($app): array |
@@ -11,7 +11,7 @@ |
||
11 | 11 | */ |
12 | 12 | public function up(): void |
13 | 13 | { |
14 | - Schema::create('database_configurations', function (Blueprint $table) { |
|
14 | + Schema::create('database_configurations', function(Blueprint $table) { |
|
15 | 15 | $table->id(); |
16 | 16 | $table->string('ref')->unique(); |
17 | 17 | $table->string('name'); |
@@ -33,7 +33,7 @@ |
||
33 | 33 | $router->aliasMiddleware('dynamic.database.config', DynamicDatabaseConfig::class); |
34 | 34 | $router->aliasMiddleware('env.database.config', EnvDatabaseConfig::class); |
35 | 35 | |
36 | - $this->loadMigrationsFrom(self::DB); |
|
36 | + $this->loadMigrationsFrom(self::DB); |
|
37 | 37 | |
38 | 38 | $this->publishes([ |
39 | 39 | self::CONFIG => config_path('dynamicdatabaseconfig.php'), |
@@ -12,8 +12,8 @@ |
||
12 | 12 | |
13 | 13 | class DynamicDatabaseConfigServiceProvider extends ServiceProvider |
14 | 14 | { |
15 | - public const DB = __DIR__.'/migrations'; |
|
16 | - public const CONFIG = __DIR__.'/config/dynamicdatabaseconfig.php'; |
|
15 | + public const DB = __DIR__ . '/migrations'; |
|
16 | + public const CONFIG = __DIR__ . '/config/dynamicdatabaseconfig.php'; |
|
17 | 17 | |
18 | 18 | /** |
19 | 19 | * Bootstrap the application services. |