Skip to content

Commit

Permalink
ODOS-604 return type of command's execute method should be INT
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanteugels committed May 24, 2024
1 parent 5d69fa7 commit f89acd6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Console/Command/PrepareKeysCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -85,5 +85,7 @@ protected function execute(InputInterface $input, OutputInterface $output): void
}

$output->writeln('<info>Keys successfully created.</info>');

return 0;
}
}

0 comments on commit f89acd6

Please sign in to comment.