diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-08-14 15:10:48 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-08-14 15:10:48 +0200 |
commit | 6f8147b18fadd749b6060ab540292c9ac6f85d61 (patch) | |
tree | dd05f489acc4d859078473a6b60d34f305fc68c4 /apps/files_sharing | |
parent | b13aa660c91873437afec36ef6466ef609b7959c (diff) | |
download | nextcloud-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_sharing')
-rw-r--r-- | apps/files_sharing/lib/Controller/ShareAPIController.php | 4 | ||||
-rw-r--r-- | apps/files_sharing/lib/Controller/ShareesAPIController.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/lib/Helper.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/lib/SharedMount.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/templates/list.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/templates/public.php | 4 |
6 files changed, 8 insertions, 8 deletions
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 @@ -<?php /** @var $l \OCP\IL10N */ ?> +<?php /** @var \OCP\IL10N $l */ ?> <div id='notification'></div> <div id="emptycontent" class="hidden"></div> 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 @@ <?php -/** @var $l \OCP\IL10N */ -/** @var $_ array */ +/** @var \OCP\IL10N $_ */ +/** @var array $_ */ ?> <div id="app-content"> <?php if ($_['previewSupported']): /* This enables preview images for links (e.g. on Facebook, Google+, ...)*/?> |