aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Command
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2020-08-14 15:10:48 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2020-08-14 15:10:48 +0200
commit6f8147b18fadd749b6060ab540292c9ac6f85d61 (patch)
treedd05f489acc4d859078473a6b60d34f305fc68c4 /apps/files_external/lib/Command
parentb13aa660c91873437afec36ef6466ef609b7959c (diff)
downloadnextcloud-server-6f8147b18fadd749b6060ab540292c9ac6f85d61.tar.gz
nextcloud-server-6f8147b18fadd749b6060ab540292c9ac6f85d61.zip
Fix some MissingDocblockType or InvalidDocblock warnings.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'apps/files_external/lib/Command')
-rw-r--r--apps/files_external/lib/Command/ListCommand.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/files_external/lib/Command/ListCommand.php b/apps/files_external/lib/Command/ListCommand.php
index 279e581f95e..42c4cddb171 100644
--- a/apps/files_external/lib/Command/ListCommand.php
+++ b/apps/files_external/lib/Command/ListCommand.php
@@ -97,15 +97,13 @@ class ListCommand extends Base {
}
protected function execute(InputInterface $input, OutputInterface $output): int {
+ /** @var StorageConfig[] $mounts */
if ($input->getOption('all')) {
- /** @var $mounts StorageConfig[] */
$mounts = $this->globalService->getStorageForAllUsers();
$userId = self::ALL;
} else {
$userId = $input->getArgument('user_id');
$storageService = $this->getStorageService($userId);
-
- /** @var $mounts StorageConfig[] */
$mounts = $storageService->getAllStorages();
}
@@ -114,7 +112,7 @@ class ListCommand extends Base {
}
/**
- * @param $userId $userId
+ * @param string $userId
* @param StorageConfig[] $mounts
* @param InputInterface $input
* @param OutputInterface $output