Style fixes

This commit is contained in:
Nabeel Shahzad
2019-04-07 22:27:10 -05:00
parent 93b738be79
commit ec662243d8
+3 -5
View File
@@ -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