aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Config/App/SetConfig.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-10-02 23:58:31 +0200
committerJoas Schilling <coding@schilljs.com>2024-10-21 11:28:53 +0200
commit91b9562bddf05c35c7f0f184341ec31df9045291 (patch)
tree57cf01b855bfd8c23bea8c4f2a1ab4cf3a1f7e3b /core/Command/Config/App/SetConfig.php
parentd1d30e0be70b1d403f0e6161f4b61c73710cd7f7 (diff)
downloadnextcloud-server-91b9562bddf05c35c7f0f184341ec31df9045291.tar.gz
nextcloud-server-91b9562bddf05c35c7f0f184341ec31df9045291.zip
ci: Fix psalm by typing the QuestionHelper
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Command/Config/App/SetConfig.php')
-rw-r--r--core/Command/Config/App/SetConfig.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/Command/Config/App/SetConfig.php b/core/Command/Config/App/SetConfig.php
index f898271a6c1..0484c2da846 100644
--- a/core/Command/Config/App/SetConfig.php
+++ b/core/Command/Config/App/SetConfig.php
@@ -12,6 +12,7 @@ use OC\AppConfig;
use OCP\Exceptions\AppConfigIncorrectTypeException;
use OCP\Exceptions\AppConfigUnknownKeyException;
use OCP\IAppConfig;
+use Symfony\Component\Console\Helper\QuestionHelper;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
@@ -229,6 +230,7 @@ class SetConfig extends Base {
}
private function ask(InputInterface $input, OutputInterface $output, string $request): bool {
+ /** @var QuestionHelper $helper */
$helper = $this->getHelper('question');
if ($input->getOption('no-interaction')) {
return true;