From d18ce53edfa3ab853cce9934218ab2d68039e78c Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Wed, 17 Sep 2025 14:22:22 +0200 Subject: [PATCH] Add void return type to initialize methods in store commands --- src/store/src/Command/DropStoreCommand.php | 2 +- src/store/src/Command/SetupStoreCommand.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/src/Command/DropStoreCommand.php b/src/store/src/Command/DropStoreCommand.php index 20d882987..e9651c1b8 100644 --- a/src/store/src/Command/DropStoreCommand.php +++ b/src/store/src/Command/DropStoreCommand.php @@ -64,7 +64,7 @@ protected function configure(): void ; } - protected function initialize(InputInterface $input, OutputInterface $output) + protected function initialize(InputInterface $input, OutputInterface $output): void { $storeName = $input->getArgument('store'); if (!$this->stores->has($storeName)) { diff --git a/src/store/src/Command/SetupStoreCommand.php b/src/store/src/Command/SetupStoreCommand.php index 5e1f0df9b..51bca2c12 100644 --- a/src/store/src/Command/SetupStoreCommand.php +++ b/src/store/src/Command/SetupStoreCommand.php @@ -62,7 +62,7 @@ protected function configure(): void ; } - protected function initialize(InputInterface $input, OutputInterface $output) + protected function initialize(InputInterface $input, OutputInterface $output): void { $storeName = $input->getArgument('store'); if (!$this->stores->has($storeName)) {