Skip to content

Commit a39d2e8

Browse files
authored
Declare return types to be compatible with composer 2.7+
1 parent cee07b7 commit a39d2e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Magento/ComposerRootUpdatePlugin/Plugin/Commands/RequireCommerceCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class RequireCommerceCommand extends ExtendableRequireCommand
6161
*
6262
* @return void
6363
*/
64-
protected function configure()
64+
protected function configure(): void
6565
{
6666
parent::configure();
6767

@@ -154,7 +154,7 @@ protected function getFormattedHelp(): string
154154
*
155155
* @throws Exception
156156
*/
157-
protected function execute(InputInterface $input, OutputInterface $output)
157+
protected function execute(InputInterface $input, OutputInterface $output): int
158158
{
159159
$this->console = new Console($this->getIO(), $input->getOption(self::INTERACTIVE_OPT));
160160
$console = $this->console;

0 commit comments

Comments
 (0)