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/Db/ConvertFilecacheBigInt.php | |
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/Db/ConvertFilecacheBigInt.php')
-rw-r--r-- | core/Command/Db/ConvertFilecacheBigInt.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Command/Db/ConvertFilecacheBigInt.php b/core/Command/Db/ConvertFilecacheBigInt.php index d16e6d30231..f5028aacaef 100644 --- a/core/Command/Db/ConvertFilecacheBigInt.php +++ b/core/Command/Db/ConvertFilecacheBigInt.php @@ -11,6 +11,7 @@ use OC\DB\SchemaWrapper; use OCP\DB\Types; use OCP\IDBConnection; use Symfony\Component\Console\Command\Command; +use Symfony\Component\Console\Helper\QuestionHelper; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Question\ConfirmationQuestion; @@ -89,6 +90,7 @@ class ConvertFilecacheBigInt extends Command { $output->writeln('<comment>This can take up to hours, depending on the number of files in your instance!</comment>'); if ($input->isInteractive()) { + /** @var QuestionHelper $helper */ $helper = $this->getHelper('question'); $question = new ConfirmationQuestion('Continue with the conversion (y/n)? [n] ', false); |