Fix code style

parent d6c1090f
......@@ -53,14 +53,13 @@ class MigrateCommand extends Command
// migrations may be run for any customized path from within the application.
if ($this->input->hasOption('path') && $this->option('path')) {
return collect($this->option('path'))->map(function ($path) {
return ! $this->usingRealPath()
? $this->laravel->basePath() . '/' . $path
: $path;
return ! $this->usingRealPath() ? $this->laravel->basePath() . '/' . $path : $path;
})->all();
}
return array_merge(
$this->migrator->paths(), [$this->getMigrationPath()]
$this->migrator->paths(),
[$this->getMigrationPath()]
);
}
......@@ -74,4 +73,3 @@ class MigrateCommand extends Command
return $this->laravel->basePath() . DIRECTORY_SEPARATOR . 'migrations';
}
}
......@@ -23,4 +23,3 @@ class MigrateInstallCommand extends Command
$this->info('Migration table created successfully.');
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment