From 307a56ec781716358149b79120052a83593ef6f4 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 14 Feb 2024 20:17:18 +0100 Subject: [PATCH] Add setApplication return type --- .../Plugin/Commands/OverrideRequireCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magento/ComposerRootUpdatePlugin/Plugin/Commands/OverrideRequireCommand.php b/src/Magento/ComposerRootUpdatePlugin/Plugin/Commands/OverrideRequireCommand.php index 9657936..d1dfbc2 100644 --- a/src/Magento/ComposerRootUpdatePlugin/Plugin/Commands/OverrideRequireCommand.php +++ b/src/Magento/ComposerRootUpdatePlugin/Plugin/Commands/OverrideRequireCommand.php @@ -69,7 +69,7 @@ class OverrideRequireCommand extends ExtendableRequireCommand * @param Application|null $application * @return void */ - public function setApplication(Application $application = null) + public function setApplication(Application $application = null): void { // For Composer versions below 2.1.6: // In order to trick Composer into overriding its native RequireCommand with this class, the name needs to be