File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/Magento/ComposerRootUpdatePlugin/Plugin/Commands Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class OverrideRequireCommand extends ExtendableRequireCommand
6969 * @param Application|null $application
7070 * @return void
7171 */
72- public function setApplication (Application $ application = null )
72+ public function setApplication (Application $ application = null ): void
7373 {
7474 // For Composer versions below 2.1.6:
7575 // In order to trick Composer into overriding its native RequireCommand with this class, the name needs to be
@@ -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 );
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments