diff options
Diffstat (limited to 'core/Command')
-rw-r--r-- | core/Command/Db/Migrations/PreviewCommand.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/Db/Migrations/PreviewCommand.php b/core/Command/Db/Migrations/PreviewCommand.php index b15f89765b9..f5b850fff76 100644 --- a/core/Command/Db/Migrations/PreviewCommand.php +++ b/core/Command/Db/Migrations/PreviewCommand.php @@ -94,12 +94,12 @@ class PreviewCommand extends Command { )->addRow(new TableSeparator()); /** @var MigrationAttribute[] $attributes */ - foreach($data as $migration => $attributes) { + foreach ($data as $migration => $attributes) { $attributesStr = []; if (empty($attributes)) { $attributesStr[] = '<comment>(metadata not set)</comment>'; } - foreach($attributes as $attribute) { + foreach ($attributes as $attribute) { $definition = '<info>' . $attribute->definition() . '</info>'; $definition .= empty($attribute->getDescription()) ? '' : "\n " . $attribute->getDescription(); $definition .= empty($attribute->getNotes()) ? '' : "\n <comment>" . implode("</comment>\n <comment>", $attribute->getNotes()) . '</comment>'; |