Skip to content

Commit 71a5a1a

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function setApplication(Application $application = null)
8686
*
8787
* @return void
8888
*/
89-
protected function configure()
89+
protected function configure(): void
9090
{
9191
parent::configure();
9292

@@ -170,7 +170,7 @@ protected function configure()
170170
*
171171
* @throws Exception
172172
*/
173-
protected function execute(InputInterface $input, OutputInterface $output)
173+
protected function execute(InputInterface $input, OutputInterface $output): int
174174
{
175175
$this->console = new Console($this->getIO(), $input->getOption(self::INTERACTIVE_OPT));
176176
$this->pkgUtils = new PackageUtils($this->console);

0 commit comments

Comments
 (0)