@@ -36,7 +36,6 @@ |
||
36 | 36 | */ |
37 | 37 | |
38 | 38 | use OC\Share\Filters\MailNotificationFilter; |
39 | -use OCP\IUser; |
|
40 | 39 | |
41 | 40 | OC_JSON::checkLoggedIn(); |
42 | 41 | OCP\JSON::callCheck(); |
@@ -515,7 +515,7 @@ discard block |
||
515 | 515 | /** |
516 | 516 | * @param \OCP\Files\File|\OCP\Files\Folder $node |
517 | 517 | * @param boolean $includeTags include tags in response |
518 | - * @param int|null $stateFilter state filter or empty for all, defaults to 0 (accepted) |
|
518 | + * @param integer $stateFilter state filter or empty for all, defaults to 0 (accepted) |
|
519 | 519 | * @return Result |
520 | 520 | */ |
521 | 521 | private function getSharedWithMe($node = null, $includeTags, $stateFilter = 0) { |
@@ -968,7 +968,7 @@ discard block |
||
968 | 968 | } |
969 | 969 | |
970 | 970 | /** |
971 | - * @param $id |
|
971 | + * @param integer $id |
|
972 | 972 | * @param $state |
973 | 973 | * @return Result |
974 | 974 | */ |
@@ -1154,6 +1154,7 @@ discard block |
||
1154 | 1154 | * not support this we need to check all backends. |
1155 | 1155 | * |
1156 | 1156 | * @param string $id |
1157 | + * @param string $recipient |
|
1157 | 1158 | * @return IShare |
1158 | 1159 | * @throws ShareNotFound |
1159 | 1160 | */ |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | /** |
130 | 130 | * inform users if a file was shared with them |
131 | 131 | * |
132 | - * @param Node shared node |
|
132 | + * @param Node Node node |
|
133 | 133 | * @param string $shareType share type |
134 | 134 | * @param IUser[] $recipientList list of recipients |
135 | 135 | * |
@@ -238,10 +238,10 @@ discard block |
||
238 | 238 | * inform recipient about public link share |
239 | 239 | * |
240 | 240 | * @param string $recipient recipient email address |
241 | - * @param string $filename the shared file |
|
242 | - * @param string $link the public link |
|
243 | 241 | * @param array $options allows ['to], ['cc'] and ['bcc'] recipients |
244 | - * @param int $expiration expiration date (timestamp) |
|
242 | + * @param string $subject |
|
243 | + * @param boolean|string $htmlBody |
|
244 | + * @param boolean|string $textBody |
|
245 | 245 | * @return string[] $result of failed recipients |
246 | 246 | */ |
247 | 247 | public function sendLinkShareMailFromBody($recipient, $subject, $htmlBody, $textBody, $options = []) { |