Skip to content

Commit ee50630

Browse files
authored
Add return type to Command::execute()
1 parent 3424156 commit ee50630

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Command/SearchCommand.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,7 @@ protected function configure()
5151
;
5252
}
5353

54-
/**
55-
* @return int
56-
*/
57-
protected function execute(InputInterface $input, OutputInterface $output)
54+
protected function execute(InputInterface $input, OutputInterface $output): int
5855
{
5956
$indexName = $input->getOption('index');
6057
$index = $this->indexManager->getIndex($indexName ?: null);

0 commit comments

Comments
 (0)