From 6f8147b18fadd749b6060ab540292c9ac6f85d61 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Fri, 14 Aug 2020 15:10:48 +0200 Subject: Fix some MissingDocblockType or InvalidDocblock warnings. Signed-off-by: Daniel Kesselberg --- apps/files_external/lib/Command/ListCommand.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'apps/files_external/lib/Command') 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 -- cgit v1.2.3