diff --git a/src/Console/DocumentClearFolderCommand.php b/src/Console/DocumentClearFolderCommand.php index 37b3ddc..026ffa5 100644 --- a/src/Console/DocumentClearFolderCommand.php +++ b/src/Console/DocumentClearFolderCommand.php @@ -61,10 +61,12 @@ protected function execute(InputInterface $input, OutputInterface $output): int return 0; } - if (!$this->io->askQuestion(new ConfirmationQuestion( - sprintf('Are you sure to delete permanently %d documents?', $count), - false - ))) { + if ( + !$this->io->askQuestion(new ConfirmationQuestion( + sprintf('Are you sure to delete permanently %d documents?', $count), + false + )) + ) { return 0; } diff --git a/src/Console/DocumentPruneCommand.php b/src/Console/DocumentPruneCommand.php index 4cecf7e..5f716d5 100644 --- a/src/Console/DocumentPruneCommand.php +++ b/src/Console/DocumentPruneCommand.php @@ -47,10 +47,12 @@ protected function execute(InputInterface $input, OutputInterface $output): int return 0; } - if (!$this->io->askQuestion(new ConfirmationQuestion( - sprintf('Are you sure to delete permanently %d unused documents?', $count), - false - ))) { + if ( + !$this->io->askQuestion(new ConfirmationQuestion( + sprintf('Are you sure to delete permanently %d unused documents?', $count), + false + )) + ) { return 0; }