@@ -33,13 +33,13 @@ discard block |
||
| 33 | 33 | { |
| 34 | 34 | $this->publishes( |
| 35 | 35 | [ |
| 36 | - realpath(__DIR__.'/../').'/config/db-exporter.php' => config_path('db-exporter.php'), |
|
| 36 | + realpath(__DIR__ . '/../') . '/config/db-exporter.php' => config_path('db-exporter.php'), |
|
| 37 | 37 | ], |
| 38 | 38 | 'config' |
| 39 | 39 | ); |
| 40 | 40 | |
| 41 | 41 | $this->mergeConfigFrom( |
| 42 | - realpath(__DIR__.'/../').'/config/db-exporter.php', |
|
| 42 | + realpath(__DIR__ . '/../') . '/config/db-exporter.php', |
|
| 43 | 43 | 'db-exporter' |
| 44 | 44 | ); |
| 45 | 45 | // Instatiate a new DbMigrations class to send to the handler |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | { |
| 99 | 99 | $this->app->singleton( |
| 100 | 100 | 'db-exporter.migrations', |
| 101 | - function ($app) { |
|
| 101 | + function($app) { |
|
| 102 | 102 | return new Commands\MigrationsGeneratorCommand($app[DbExportHandler::class]); |
| 103 | 103 | } |
| 104 | 104 | ); |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | { |
| 114 | 114 | $this->app->singleton( |
| 115 | 115 | 'db-exporter.seeds', |
| 116 | - function ($app) { |
|
| 116 | + function($app) { |
|
| 117 | 117 | return new Commands\SeedGeneratorCommand($app[DbExportHandler::class]); |
| 118 | 118 | } |
| 119 | 119 | ); |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | { |
| 126 | 126 | $this->app->singleton( |
| 127 | 127 | 'db-exporter.backup', |
| 128 | - function () { |
|
| 128 | + function() { |
|
| 129 | 129 | return new Commands\CopyToRemoteCommand(); |
| 130 | 130 | } |
| 131 | 131 | ); |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | { |
| 141 | 141 | $this->app->bind( |
| 142 | 142 | DbExportHandler::class, |
| 143 | - function ($app) { |
|
| 143 | + function($app) { |
|
| 144 | 144 | // Instatiate a new DbSeeding class to send to the handler |
| 145 | 145 | $seeder = new DbSeeding($app[DbMigrations::class]->database); |
| 146 | 146 | |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | |
| 152 | 152 | $this->app->bind( |
| 153 | 153 | 'DbExporter', |
| 154 | - function ($app) { |
|
| 154 | + function($app) { |
|
| 155 | 155 | return $app[DbExportHandler::class]; |
| 156 | 156 | } |
| 157 | 157 | ); |