Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions src/store/src/Command/DropStoreCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected function configure(): void
;
}

protected function initialize(InputInterface $input, OutputInterface $output): void
protected function execute(InputInterface $input, OutputInterface $output): int
{
$storeName = $input->getArgument('store');
if (!$this->stores->has($storeName)) {
Expand All @@ -75,10 +75,7 @@ protected function initialize(InputInterface $input, OutputInterface $output): v
if (!$store instanceof ManagedStoreInterface) {
throw new RuntimeException(\sprintf('The "%s" store does not support to be dropped.', $storeName));
}
}

protected function execute(InputInterface $input, OutputInterface $output): int
{
$io = new SymfonyStyle($input, $output);

if (!$input->getOption('force')) {
Expand Down
5 changes: 1 addition & 4 deletions src/store/src/Command/SetupStoreCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ protected function configure(): void
;
}

protected function initialize(InputInterface $input, OutputInterface $output): void
protected function execute(InputInterface $input, OutputInterface $output): int
{
$storeName = $input->getArgument('store');
if (!$this->stores->has($storeName)) {
Expand All @@ -73,10 +73,7 @@ protected function initialize(InputInterface $input, OutputInterface $output): v
if (!$store instanceof ManagedStoreInterface) {
throw new RuntimeException(\sprintf('The "%s" store does not support setup.', $storeName));
}
}

protected function execute(InputInterface $input, OutputInterface $output): int
{
$io = new SymfonyStyle($input, $output);

$storeName = $input->getArgument('store');
Expand Down