Completed
Pull Request — master (#32767)
by Victor
105:47 queued 09:39
created
core/ajax/share.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,6 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
apps/files_sharing/lib/Controller/Share20OcsController.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 	 */
Please login to merge, or discard this patch.
lib/private/Share/MailNotifications.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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 = []) {
Please login to merge, or discard this patch.