diff options
author | Joas Schilling <coding@schilljs.com> | 2024-10-02 23:58:31 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-10-21 11:28:53 +0200 |
commit | 91b9562bddf05c35c7f0f184341ec31df9045291 (patch) | |
tree | 57cf01b855bfd8c23bea8c4f2a1ab4cf3a1f7e3b /apps/files_external | |
parent | d1d30e0be70b1d403f0e6161f4b61c73710cd7f7 (diff) | |
download | nextcloud-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 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/Command/Delete.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/lib/Command/Delete.php b/apps/files_external/lib/Command/Delete.php index 077b969d7b2..b432587e603 100644 --- a/apps/files_external/lib/Command/Delete.php +++ b/apps/files_external/lib/Command/Delete.php @@ -12,6 +12,7 @@ use OCA\Files_External\Service\GlobalStoragesService; use OCA\Files_External\Service\UserStoragesService; use OCP\IUserManager; use OCP\IUserSession; +use Symfony\Component\Console\Helper\QuestionHelper; use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; @@ -64,6 +65,7 @@ class Delete extends Base { $listInput->setOption('output', $input->getOption('output')); $listCommand->listMounts(null, [$mount], $listInput, $output); + /** @var QuestionHelper $questionHelper */ $questionHelper = $this->getHelper('question'); $question = new ConfirmationQuestion('Delete this mount? [y/N] ', false); |