From f89acd64cf82c0abb194da956c7cb0188b7e9e34 Mon Sep 17 00:00:00 2001 From: dylanteugels <162726340+dylanteugels@users.noreply.github.com> Date: Fri, 24 May 2024 15:38:36 +0200 Subject: [PATCH] ODOS-604 return type of command's execute method should be INT --- Console/Command/PrepareKeysCommand.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Console/Command/PrepareKeysCommand.php b/Console/Command/PrepareKeysCommand.php index e0bbbda..5ba2213 100644 --- a/Console/Command/PrepareKeysCommand.php +++ b/Console/Command/PrepareKeysCommand.php @@ -62,9 +62,9 @@ protected function configure() * @param InputInterface $input * @param OutputInterface $output * - * @return void + * @return int */ - protected function execute(InputInterface $input, OutputInterface $output): void + protected function execute(InputInterface $input, OutputInterface $output): int { $phraseCollector = new PhraseCollector(new Tokenizer()); $adapters = [ @@ -85,5 +85,7 @@ protected function execute(InputInterface $input, OutputInterface $output): void } $output->writeln('Keys successfully created.'); + + return 0; } }