diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2024-07-26 16:35:51 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2024-07-29 12:44:52 -0100 |
commit | 7c1ee524be784bf54d4c09d1310c182593d8b2f2 (patch) | |
tree | b912f145ed38af7612f9cb919365b6845b578236 /core/Command/Db | |
parent | 79e60148799eee50b08c5edf07b91ba8428642fd (diff) | |
download | nextcloud-server-7c1ee524be784bf54d4c09d1310c182593d8b2f2.tar.gz nextcloud-server-7c1ee524be784bf54d4c09d1310c182593d8b2f2.zip |
fix(migration-attributes): privatizing AttributeException
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'core/Command/Db')
-rw-r--r-- | core/Command/Db/Migrations/GenerateMetadataCommand.php | 7 | ||||
-rw-r--r-- | core/Command/Db/Migrations/PreviewCommand.php | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/core/Command/Db/Migrations/GenerateMetadataCommand.php b/core/Command/Db/Migrations/GenerateMetadataCommand.php index 64840bea230..55a2a6aedab 100644 --- a/core/Command/Db/Migrations/GenerateMetadataCommand.php +++ b/core/Command/Db/Migrations/GenerateMetadataCommand.php @@ -14,6 +14,9 @@ use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; +/** + * @since 30.0.0 + */ class GenerateMetadataCommand extends Command { public function __construct( private readonly MetadataManager $metadataManager, @@ -43,9 +46,7 @@ class GenerateMetadataCommand extends Command { return 0; } - - - public function extractMigrationMetadata(): array { + private function extractMigrationMetadata(): array { return [ 'core' => $this->extractMigrationMetadataFromCore(), 'apps' => $this->extractMigrationMetadataFromApps() diff --git a/core/Command/Db/Migrations/PreviewCommand.php b/core/Command/Db/Migrations/PreviewCommand.php index b1881a0c42c..e35100dacb2 100644 --- a/core/Command/Db/Migrations/PreviewCommand.php +++ b/core/Command/Db/Migrations/PreviewCommand.php @@ -20,6 +20,9 @@ use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; +/** + * @since 30.0.0 + */ class PreviewCommand extends Command { private bool $initiated = false; public function __construct( |