From 2c890bd3830e01c55cf5a47a55c98f3e8c738879 Mon Sep 17 00:00:00 2001 From: Claudio Zizza Date: Wed, 14 Jan 2026 00:35:50 +0100 Subject: [PATCH] Use addCommand to replace add-method of Console Application --- lib/Application.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Application.php b/lib/Application.php index 4d50827..539516f 100644 --- a/lib/Application.php +++ b/lib/Application.php @@ -47,12 +47,12 @@ final readonly class Application SyncRepositoriesCommand $syncRepositoriesCommand, BuildDatabaseCommand $buildDatabaseCommand, ) { - $this->application->add($buildAllCommand); - $this->application->add($buildDocsCommand); - $this->application->add($buildWebsiteCommand); - $this->application->add($clearBuildCacheCommand); - $this->application->add($syncRepositoriesCommand); - $this->application->add($buildDatabaseCommand); + $this->application->addCommand($buildAllCommand); + $this->application->addCommand($buildDocsCommand); + $this->application->addCommand($buildWebsiteCommand); + $this->application->addCommand($clearBuildCacheCommand); + $this->application->addCommand($syncRepositoriesCommand); + $this->application->addCommand($buildDatabaseCommand); $this->application->setHelperSet(new HelperSet([ 'question' => new QuestionHelper(),