Skip to content

Commit

Permalink
Remove unused variable in MigrateCommand.php (#47816)
Browse files Browse the repository at this point in the history
  • Loading branch information
sangnguyenplus committed Jul 24, 2023
1 parent e250288 commit 5daff2c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Illuminate/Database/Console/Migrations/MigrateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ public function handle()
// Next, we will check to see if a path option has been defined. If it has
// we will use the path relative to the root of this installation folder
// so that migrations may be run for any path within the applications.
$migrations = $this->migrator->setOutput($this->output)
->run($this->getMigrationPaths(), [
'pretend' => $this->option('pretend'),
'step' => $this->option('step'),
]);
$this->migrator->setOutput($this->output)
->run($this->getMigrationPaths(), [
'pretend' => $this->option('pretend'),
'step' => $this->option('step'),
]);

// Finally, if the "seed" option has been given, we will re-run the database
// seed task to re-populate the database, which is convenient when adding
Expand Down

0 comments on commit 5daff2c

Please sign in to comment.