@@ -57,8 +57,7 @@ discard block |
||
| 57 | 57 | * class DatabaseConfigLoader |
| 58 | 58 | * @package Platine\Framework\Config |
| 59 | 59 | */ |
| 60 | -class DatabaseConfigLoader implements LoaderInterface |
|
| 61 | -{ |
|
| 60 | +class DatabaseConfigLoader implements LoaderInterface { |
|
| 62 | 61 | |
| 63 | 62 | /** |
| 64 | 63 | * The QueryBuilder instance |
@@ -179,8 +178,7 @@ discard block |
||
| 179 | 178 | * @param string|null $env |
| 180 | 179 | * @return mixed |
| 181 | 180 | */ |
| 182 | - public function getConfigurations(string $group, ?string $env = null) |
|
| 183 | - { |
|
| 181 | + public function getConfigurations(string $group, ?string $env = null) { |
|
| 184 | 182 | $results = $this->queryBuilder |
| 185 | 183 | ->from($this->table) |
| 186 | 184 | ->where('id')->in(function (SubQuery $q) use ($env, $group) { |
@@ -58,8 +58,7 @@ discard block |
||
| 58 | 58 | * class MigrationInitCommand |
| 59 | 59 | * @package Platine\Framework\Migration\Command |
| 60 | 60 | */ |
| 61 | -class MigrationInitCommand extends AbstractCommand |
|
| 62 | -{ |
|
| 61 | +class MigrationInitCommand extends AbstractCommand { |
|
| 63 | 62 | |
| 64 | 63 | /** |
| 65 | 64 | * The schema to use |
@@ -89,8 +88,7 @@ discard block |
||
| 89 | 88 | /** |
| 90 | 89 | * {@inheritodc} |
| 91 | 90 | */ |
| 92 | - public function execute() |
|
| 93 | - { |
|
| 91 | + public function execute() { |
|
| 94 | 92 | $io = $this->io(); |
| 95 | 93 | $writer = $io->writer(); |
| 96 | 94 | $writer->boldYellow('MIGRATION INITIALIZATION', true); |