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_sharing/lib/Controller/ShareAPIController.php | 4 ++-- apps/files_sharing/lib/Controller/ShareesAPIController.php | 2 +- apps/files_sharing/lib/Helper.php | 2 +- apps/files_sharing/lib/SharedMount.php | 2 +- apps/files_sharing/templates/list.php | 2 +- apps/files_sharing/templates/public.php | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) (limited to 'apps/files_sharing') diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php index 78b2eb1bc53..c629860df23 100644 --- a/apps/files_sharing/lib/Controller/ShareAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareAPIController.php @@ -1466,7 +1466,7 @@ class ShareAPIController extends OCSController { /** * Cleanup the remaining locks - * @throws @LockedException + * @throws LockedException */ public function cleanup() { if ($this->lockedNode !== null) { @@ -1642,7 +1642,7 @@ class ShareAPIController extends OCSController { * * @param Node|null $path * @param boolean $reshares - * @return void + * @return IShare[] */ private function getAllShares(?Node $path = null, bool $reshares = false) { // Get all shares diff --git a/apps/files_sharing/lib/Controller/ShareesAPIController.php b/apps/files_sharing/lib/Controller/ShareesAPIController.php index b523dd3d37d..3ed777a8f71 100644 --- a/apps/files_sharing/lib/Controller/ShareesAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareesAPIController.php @@ -54,7 +54,7 @@ use function usort; class ShareesAPIController extends OCSController { - /** @var userId */ + /** @var string */ protected $userId; /** @var IConfig */ diff --git a/apps/files_sharing/lib/Helper.php b/apps/files_sharing/lib/Helper.php index d3c6deeec2e..2f1f6da79ca 100644 --- a/apps/files_sharing/lib/Helper.php +++ b/apps/files_sharing/lib/Helper.php @@ -63,7 +63,7 @@ class Helper { /** * get default share folder * - * @param \OC\Files\View + * @param \OC\Files\View $view * @return string */ public static function getShareFolder($view = null) { diff --git a/apps/files_sharing/lib/SharedMount.php b/apps/files_sharing/lib/SharedMount.php index 487011584c7..02e656a4fd5 100644 --- a/apps/files_sharing/lib/SharedMount.php +++ b/apps/files_sharing/lib/SharedMount.php @@ -215,7 +215,7 @@ class SharedMount extends MountPoint implements MoveableMount { */ public function removeMount() { $mountManager = \OC\Files\Filesystem::getMountManager(); - /** @var $storage \OCA\Files_Sharing\SharedStorage */ + /** @var \OCA\Files_Sharing\SharedStorage $storage */ $storage = $this->getStorage(); $result = $storage->unshareStorage(); $mountManager->removeMount($this->mountPoint); diff --git a/apps/files_sharing/templates/list.php b/apps/files_sharing/templates/list.php index 03c097725a1..4b216de8e70 100644 --- a/apps/files_sharing/templates/list.php +++ b/apps/files_sharing/templates/list.php @@ -1,4 +1,4 @@ - +
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index 751303e8109..bdd3e8399ea 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -1,6 +1,6 @@
-- cgit v1.2.3