diff options
author | Joas Schilling <coding@schilljs.com> | 2024-10-02 23:58:31 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-10-07 12:11:27 +0200 |
commit | c109ae9437403c5bd17834c2ee53507c1d1f2ad2 (patch) | |
tree | ce200b2883c129b58cb2b5613c2526b94ae69796 /core/Command/Preview | |
parent | c0ffe3942195402589815bb7e13b6d9070429682 (diff) | |
download | nextcloud-server-c109ae9437403c5bd17834c2ee53507c1d1f2ad2.tar.gz nextcloud-server-c109ae9437403c5bd17834c2ee53507c1d1f2ad2.zip |
ci: Fix psalm by typing the QuestionHelper
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Command/Preview')
-rw-r--r-- | core/Command/Preview/Repair.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Command/Preview/Repair.php b/core/Command/Preview/Repair.php index 641e204e050..3ccd8231300 100644 --- a/core/Command/Preview/Repair.php +++ b/core/Command/Preview/Repair.php @@ -19,6 +19,7 @@ use OCP\Lock\LockedException; use Psr\Log\LoggerInterface; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Helper\ProgressBar; +use Symfony\Component\Console\Helper\QuestionHelper; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; @@ -133,6 +134,7 @@ class Repair extends Command { if ($input->getOption('batch')) { $output->writeln('Batch mode active: migration is started right away.'); } else { + /** @var QuestionHelper $helper */ $helper = $this->getHelper('question'); $question = new ConfirmationQuestion('<info>Should the migration be started? (y/[n]) </info>', false); |