diff options
author | Anna Larch <anna@nextcloud.com> | 2024-09-05 21:23:38 +0200 |
---|---|---|
committer | Anna Larch <anna@nextcloud.com> | 2024-09-05 21:23:38 +0200 |
commit | 8af7ecb2576071f170ecbb0aa2311b26581e40e2 (patch) | |
tree | 9a8f3595cb28493368f78b0a049254d0a256b3c1 /core/Command | |
parent | 4566cf791d55f1202f4a1888b9cd23a7be0ed2c9 (diff) | |
download | nextcloud-server-8af7ecb2576071f170ecbb0aa2311b26581e40e2.tar.gz nextcloud-server-8af7ecb2576071f170ecbb0aa2311b26581e40e2.zip |
chore: adjust code to adhere to coding standard
Signed-off-by: Anna Larch <anna@nextcloud.com>
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>'; |