summaryrefslogtreecommitdiffstats
path: root/lib/public/Share.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Share.php')
-rw-r--r--lib/public/Share.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Share.php b/lib/public/Share.php
index ec3a7c8db1b..f3a0b53efec 100644
--- a/lib/public/Share.php
+++ b/lib/public/Share.php
@@ -265,8 +265,8 @@ class Share extends \OC\Share\Constants {
* @param string $shareWith User or group the item is being shared with
* @param int $permissions CRUDS
* @param string $itemSourceName
- * @param \DateTime $expirationDate
- * @param bool $passwordChanged
+ * @param \DateTime|null $expirationDate
+ * @param bool|null $passwordChanged
* @return bool|string Returns true on success or false on failure, Returns token on success for links
* @throws \OC\HintException when the share type is remote and the shareWith is invalid
* @throws \Exception