Style fixes
This commit is contained in:
@@ -9,10 +9,6 @@ use Log;
|
|||||||
use Nwidart\Modules\Facades\Module;
|
use Nwidart\Modules\Facades\Module;
|
||||||
use Symfony\Component\Yaml\Yaml;
|
use Symfony\Component\Yaml\Yaml;
|
||||||
|
|
||||||
/**
|
|
||||||
* Class MigrationsService
|
|
||||||
* @package Modules\Installer\Services
|
|
||||||
*/
|
|
||||||
class MigrationService extends Service
|
class MigrationService extends Service
|
||||||
{
|
{
|
||||||
private $counters = [];
|
private $counters = [];
|
||||||
@@ -33,7 +29,8 @@ class MigrationService extends Service
|
|||||||
$this->syncAllSettings();
|
$this->syncAllSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function syncAllSettings(): void {
|
public function syncAllSettings(): void
|
||||||
|
{
|
||||||
$data = file_get_contents(database_path('/seeds/settings.yml'));
|
$data = file_get_contents(database_path('/seeds/settings.yml'));
|
||||||
$yml = Yaml::parse($data);
|
$yml = Yaml::parse($data);
|
||||||
foreach ($yml as $setting) {
|
foreach ($yml as $setting) {
|
||||||
@@ -147,6 +144,7 @@ class MigrationService extends Service
|
|||||||
/**
|
/**
|
||||||
* Find all of the possible paths that migrations exist.
|
* Find all of the possible paths that migrations exist.
|
||||||
* Include looking in all of the modules Database/migrations directories
|
* Include looking in all of the modules Database/migrations directories
|
||||||
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function getMigrationPaths(): array
|
public function getMigrationPaths(): array
|
||||||
|
|||||||
Reference in New Issue
Block a user