From 12aeb4077f1a7a0658a4d22e8b7aafc0c6d2e189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20L=C3=B8vgaard?= Date: Fri, 19 Jan 2024 14:12:47 +0100 Subject: [PATCH] Move description --- src/Command/AssignCalloutsCommand.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/Command/AssignCalloutsCommand.php b/src/Command/AssignCalloutsCommand.php index 8c9c546..36339db 100644 --- a/src/Command/AssignCalloutsCommand.php +++ b/src/Command/AssignCalloutsCommand.php @@ -15,6 +15,8 @@ final class AssignCalloutsCommand extends Command protected static $defaultName = 'setono:sylius-callout:assign'; + protected static $defaultDescription = 'Trigger callouts to all products assign process'; + public function __construct(CalloutAssignerInterface $productCalloutsAssigner) { parent::__construct(); @@ -22,13 +24,6 @@ public function __construct(CalloutAssignerInterface $productCalloutsAssigner) $this->productCalloutsAssigner = $productCalloutsAssigner; } - protected function configure(): void - { - $this - ->setDescription('Trigger callouts to all products assign process') - ; - } - protected function execute(InputInterface $input, OutputInterface $output): int { $this->productCalloutsAssigner->assign();