diff --git a/lib/private/Share/Share.php b/lib/private/Share/Share.php
index 0c9cc4c2cf94806196540e9b267f936b6542e388..52e0628987b502480df27c8856161b4b3c2de419 100644
--- a/lib/private/Share/Share.php
+++ b/lib/private/Share/Share.php
@@ -327,7 +327,7 @@ class Share extends Constants {
 	 * @throws \OC\HintException when the share type is remote and the shareWith is invalid
 	 * @throws \Exception
 	 * @since 5.0.0 - parameter $itemSourceName was added in 6.0.0, parameter $expirationDate was added in 7.0.0, parameter $passwordChanged added in 9.0.0
-	 * TESTS ONLY
+	 * @deprecated 14.0.0 TESTS ONLY - this methods is as of 2018-06 only used by tests
 	 */
 	public static function shareItem($itemType, $itemSource, $shareType, $shareWith, $permissions, $itemSourceName = null, \DateTime $expirationDate = null, $passwordChanged = null) {