diff --git a/apps/files_sharing/api/ocssharewrapper.php b/apps/files_sharing/api/ocssharewrapper.php
index 9f63e864cec54d62a61bebcf4de5425bf9df8076..a51ad1eb2c9a19df2bd5d4b82bc7bf86004b9781 100644
--- a/apps/files_sharing/api/ocssharewrapper.php
+++ b/apps/files_sharing/api/ocssharewrapper.php
@@ -36,7 +36,7 @@ class OCSShareWrapper {
 			\OC::$server->getUserSession()->getUser());
 	}
 
-	public function getAllShares($params) {
+	public function getAllShares() {
 		return $this->getShare20OCS()->getShares();
 	}
 
diff --git a/apps/files_sharing/api/share20ocs.php b/apps/files_sharing/api/share20ocs.php
index 0c9e5473d9c11536ca831f82c3321ff89d5c4cf9..d5928b50ba7424757c48cdd8402a15d28904e711 100644
--- a/apps/files_sharing/api/share20ocs.php
+++ b/apps/files_sharing/api/share20ocs.php
@@ -50,7 +50,7 @@ class Share20OCS {
 	private $request;
 	/** @var IRootFolder */
 	private $rootFolder;
-	/** @var IUrlGenerator */
+	/** @var IURLGenerator */
 	private $urlGenerator;
 	/** @var IUser */
 	private $currentUser;
diff --git a/lib/public/share/imanager.php b/lib/public/share/imanager.php
index f926104dde0aeeb5a93a06c73b79a97b20ac77c5..edb76c46de4354bc39fe6dc821f1b1d262f0538b 100644
--- a/lib/public/share/imanager.php
+++ b/lib/public/share/imanager.php
@@ -23,7 +23,7 @@ namespace OCP\Share;
 
 use OCP\IUser;
 
-use OC\Share20\Exception\ShareNotFound;
+use OCP\Share\Exceptions\ShareNotFound;
 
 /**
  * Interface IManager
@@ -106,7 +106,7 @@ interface IManager {
 	 *
 	 * @param string $userId
 	 * @param int $shareType
-	 * @param File|Folder|null $node
+	 * @param \OCP\Files\File|\OCP\Files\Folder|null $node
 	 * @param int $limit The maximum number of shares returned, -1 for all
 	 * @param int $offset
 	 * @return IShare[]