Skip to content

Commit 49ea5ac

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

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Command/PopulateCommand.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,7 @@ protected function initialize(InputInterface $input, OutputInterface $output)
117117
}
118118
}
119119

120-
/**
121-
* @return int
122-
*/
123-
protected function execute(InputInterface $input, OutputInterface $output)
120+
protected function execute(InputInterface $input, OutputInterface $output): int
124121
{
125122
$indexes = (null !== $index = $input->getOption('index')) ? [$index] : \array_keys($this->indexManager->getAllIndexes());
126123
$reset = !$input->getOption('no-reset');

0 commit comments

Comments
 (0)