Skip to content

Commit 8aceb7f

Browse files
authored
Merge pull request #91 from magento-commerce/imported-magento-atwix-pyrrans-ece-tools-810
2 parents 0014ca4 + 0de28fa commit 8aceb7f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Command/Dev/GenerateSchemaError.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
namespace Magento\MagentoCloud\Command\Dev;
99

10+
use Magento\MagentoCloud\Cli;
1011
use Magento\MagentoCloud\Filesystem\Driver\File;
1112
use Magento\MagentoCloud\Filesystem\FileList;
1213
use Symfony\Component\Console\Command\Command;
@@ -79,14 +80,11 @@ protected function configure(): void
7980
}
8081

8182
/**
82-
* @param InputInterface $input
83-
* @param OutputInterface $output
84-
* @return int|void
85-
* @throws \Magento\MagentoCloud\Filesystem\FileSystemException
83+
* @inheritdoc
8684
*
8785
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
8886
*/
89-
protected function execute(InputInterface $input, OutputInterface $output)
87+
protected function execute(InputInterface $input, OutputInterface $output): int
9088
{
9189
$errors = Yaml::parse(
9290
$this->file->fileGetContents($this->fileList->getErrorSchema()),
@@ -100,6 +98,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
10098
$this->file->filePutContents($this->fileList->getErrorDistConfig(), $docs);
10199

102100
$output->writeln(sprintf('File %s was generated', $this->fileList->getErrorDistConfig()));
101+
102+
return Cli::SUCCESS;
103103
}
104104

105105
/**

0 commit comments

Comments
 (0)