@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | |
| 27 | 27 | if (env('DEBUG_QUERY_LOG', true)) { |
| 28 | 28 | \DB::listen( |
| 29 | - function (QueryExecuted $queryExecuted) { |
|
| 29 | + function(QueryExecuted $queryExecuted) { |
|
| 30 | 30 | var_dump($queryExecuted->sql); |
| 31 | 31 | var_dump($queryExecuted->bindings); |
| 32 | 32 | } |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | protected function loadMigrationsFrom($paths) |
| 48 | 48 | { |
| 49 | 49 | $paths = (is_array($paths)) ? $paths : [$paths]; |
| 50 | - $this->app->afterResolving('migrator', function ($migrator) use ($paths) { |
|
| 50 | + $this->app->afterResolving('migrator', function($migrator) use ($paths) { |
|
| 51 | 51 | foreach ((array) $paths as $path) { |
| 52 | 52 | $migrator->path($path); |
| 53 | 53 | } |