File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ class Migrate extends BaseCommand
2020 * @var string
2121 */
2222 protected $ signature = Names::MIGRATE
23- . ' {--database= : The database connection to use} '
24- . ' {--force : Force the operation to run when in production} '
25- . ' {--step : Force the actions to be run so they can be rolled back individually} '
26- . ' {--path=* : The path(s) to the migrations files to be executed} '
27- . ' {--realpath : Indicate any provided migration file paths are pre-resolved absolute paths} ' ;
23+ . ' {--database= : The database connection to use} '
24+ . ' {--force : Force the operation to run when in production} '
25+ . ' {--step : Force the actions to be run so they can be rolled back individually} '
26+ . ' {--path=* : The path(s) to the migrations files to be executed} '
27+ . ' {--realpath : Indicate any provided migration file paths are pre-resolved absolute paths} ' ;
2828
2929 /**
3030 * The console command description.
@@ -74,8 +74,6 @@ protected function getMigrationPaths(): array
7474 return $ paths ;
7575 }
7676
77- return array_merge (
78- $ this ->migrator ->paths (), [$ this ->getMigrationPath ()]
79- );
77+ return [$ this ->getMigrationPath ()];
8078 }
8179}
Original file line number Diff line number Diff line change 44
55use DragonCode \LaravelActions \Concerns \Anonymous ;
66use DragonCode \LaravelActions \ServiceProvider ;
7+ use Illuminate \Database \Query \Builder ;
78use Illuminate \Foundation \Testing \RefreshDatabase ;
89use Illuminate \Support \Facades \DB ;
910use Orchestra \Testbench \TestCase as BaseTestCase ;
@@ -46,7 +47,7 @@ protected function getEnvironmentSetUp($app)
4647 $ this ->setDatabase ($ app );
4748 }
4849
49- protected function table ()
50+ protected function table (): Builder
5051 {
5152 return DB ::table ($ this ->table );
5253 }
You can’t perform that action at this time.
0 commit comments