From 8af7ecb2576071f170ecbb0aa2311b26581e40e2 Mon Sep 17 00:00:00 2001 From: Anna Larch Date: Thu, 5 Sep 2024 21:23:38 +0200 Subject: chore: adjust code to adhere to coding standard Signed-off-by: Anna Larch --- core/Command/Db/Migrations/PreviewCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/Command') 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[] = '(metadata not set)'; } - foreach($attributes as $attribute) { + foreach ($attributes as $attribute) { $definition = '' . $attribute->definition() . ''; $definition .= empty($attribute->getDescription()) ? '' : "\n " . $attribute->getDescription(); $definition .= empty($attribute->getNotes()) ? '' : "\n " . implode("\n ", $attribute->getNotes()) . ''; -- cgit v1.2.3