Skip to content

Commit

Permalink
Merge pull request #19 from magento-commerce/develop
Browse files Browse the repository at this point in the history
MCLOUD-9083: Release ece-tools 2002.1.11 and MCC 1.0.11
  • Loading branch information
BaDos authored Jul 29, 2022
2 parents ed39cf0 + ea904d9 commit 68ab097
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
9 changes: 6 additions & 3 deletions Console/Command/CacheEvict.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
namespace Magento\CloudComponents\Console\Command;

use Magento\CloudComponents\Model\Cache\Evictor;
use Magento\Framework\Console\Cli;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
Expand All @@ -33,17 +34,17 @@ public function __construct(Evictor $evictor)
}

/**
* @inheritDoc
* @inheritdoc
*/
protected function configure()
{
$this->setDescription('Evicts unused keys by performing scan command');
}

/**
* @inheritDoc
* @inheritdoc
*/
public function execute(InputInterface $input, OutputInterface $output): void
public function execute(InputInterface $input, OutputInterface $output): int
{
$output->writeln('Begin scanning of cache keys');

Expand All @@ -53,5 +54,7 @@ public function execute(InputInterface $input, OutputInterface $output): void
'Total scanned keys: %s',
$count
));

return Cli::RETURN_SUCCESS;
}
}
2 changes: 1 addition & 1 deletion Console/Command/ConfigShowDefaultUrlCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected function configure()
/**
* Returns base url for default store of default website
*
* {@inheritdoc}
* @inheritdoc
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
Expand Down
2 changes: 1 addition & 1 deletion Console/Command/ConfigShowEntityUrlsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ protected function configure()
/**
* @param InputInterface $input
* @param OutputInterface $output
* @return int|null
* @return int
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
Expand Down
2 changes: 1 addition & 1 deletion Console/Command/ConfigShowStoreUrlCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ protected function configure()
/**
* Returns store url or all store urls if store id wasn't provided
*
* {@inheritdoc}
* @inheritdoc
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "magento/magento-cloud-components",
"description": "Cloud Components Module for Magento 2.x",
"type": "magento2-module",
"version": "1.0.10",
"version": "1.0.11",
"require": {
"php": "^7.2 || ^8.0",
"ext-json": "*",
Expand Down

0 comments on commit 68ab097

Please sign in to comment.