Skip to content

Commit 80e918d

Browse files
committed
Fix static analysis
1 parent 427f7b3 commit 80e918d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/code/Magento/Indexer/Console/Command/IndexerResetStateCommand.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010
use Symfony\Component\Console\Input\InputInterface;
1111
use Symfony\Component\Console\Output\OutputInterface;
1212
use Magento\Framework\Indexer\ConfigInterface;
13+
use Magento\Framework\Console\Cli;
1314

1415
/**
1516
* Command for invalidating indexers.
1617
*/
1718
class IndexerResetStateCommand extends AbstractIndexerManageCommand
1819
{
1920
/**
20-
* {@inheritdoc}
21+
* Configures the current command.
2122
*/
2223
protected function configure()
2324
{
@@ -29,7 +30,7 @@ protected function configure()
2930
}
3031

3132
/**
32-
* {@inheritdoc}
33+
* Invalidate / reset the indexer
3334
*/
3435
protected function execute(InputInterface $input, OutputInterface $output)
3536
{
@@ -45,5 +46,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
4546
$output->writeln($e->getMessage());
4647
}
4748
}
49+
return Cli::RETURN_SUCCESS;
4850
}
4951
}

0 commit comments

Comments
 (0)