aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Maintenance
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-10-02 23:58:31 +0200
committerJoas Schilling <coding@schilljs.com>2024-10-07 12:11:27 +0200
commitc109ae9437403c5bd17834c2ee53507c1d1f2ad2 (patch)
treece200b2883c129b58cb2b5613c2526b94ae69796 /core/Command/Maintenance
parentc0ffe3942195402589815bb7e13b6d9070429682 (diff)
downloadnextcloud-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/Maintenance')
-rw-r--r--core/Command/Maintenance/RepairShareOwnership.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Command/Maintenance/RepairShareOwnership.php b/core/Command/Maintenance/RepairShareOwnership.php
index a24be53b00e..16675545afe 100644
--- a/core/Command/Maintenance/RepairShareOwnership.php
+++ b/core/Command/Maintenance/RepairShareOwnership.php
@@ -14,6 +14,7 @@ use OCP\IDBConnection;
use OCP\IUser;
use OCP\IUserManager;
use Symfony\Component\Console\Command\Command;
+use Symfony\Component\Console\Helper\QuestionHelper;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
@@ -60,6 +61,7 @@ class RepairShareOwnership extends Command {
$output->writeln('');
if (!$noConfirm) {
+ /** @var QuestionHelper $helper */
$helper = $this->getHelper('question');
$question = new ConfirmationQuestion('Repair these shares? [y/N]', false);