Skip to content

Commit 196d294

Browse files
authored
Add return type to Command::execute()
1 parent 49ea5ac commit 196d294

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Command/ResetCommand.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@ protected function configure()
4848
;
4949
}
5050

51-
/**
52-
* @return int
53-
*/
54-
protected function execute(InputInterface $input, OutputInterface $output)
51+
protected function execute(InputInterface $input, OutputInterface $output): int
5552
{
5653
$indexes = (null !== $index = $input->getOption('index')) ? [$index] : \array_keys($this->indexManager->getAllIndexes());
5754
$force = (bool) $input->getOption('force');

0 commit comments

Comments
 (0)