Completed
Pull Request — master (#4307)
by Lukas
20:16 queued 06:52
created
apps/sharebymail/lib/ShareByMailProvider.php 1 patch
Doc Comments   +11 added lines, -4 removed lines patch added patch discarded remove patch
@@ -193,10 +193,10 @@  discard block
 block discarded – undo
193 193
 	 * publish activity if a file/folder was shared by mail
194 194
 	 *
195 195
 	 * @param $subject
196
-	 * @param $parameters
197
-	 * @param $affectedUser
196
+	 * @param string[] $parameters
197
+	 * @param string $affectedUser
198 198
 	 * @param $fileId
199
-	 * @param $filePath
199
+	 * @param string $filePath
200 200
 	 */
201 201
 	protected function publishActivity($subject, $parameters, $affectedUser, $fileId, $filePath) {
202 202
 		$event = $this->activityManager->generateEvent();
@@ -248,6 +248,12 @@  discard block
 block discarded – undo
248 248
 
249 249
 	}
250 250
 
251
+	/**
252
+	 * @param string $link
253
+	 * @param string $owner
254
+	 * @param string $initiator
255
+	 * @param string $shareWith
256
+	 */
251 257
 	protected function sendMailNotification($filename, $link, $owner, $initiator, $shareWith) {
252 258
 		$ownerUser = $this->userManager->get($owner);
253 259
 		$initiatorUser = $this->userManager->get($initiator);
@@ -296,6 +302,7 @@  discard block
 block discarded – undo
296 302
 	 * @param string $filename
297 303
 	 * @param string $initiator
298 304
 	 * @param string $shareWith
305
+	 * @param string $password
299 306
 	 */
300 307
 	protected function sendPassword($filename, $initiator, $shareWith, $password) {
301 308
 
@@ -769,7 +776,7 @@  discard block
 block discarded – undo
769 776
 	/**
770 777
 	 * get database row of a give share
771 778
 	 *
772
-	 * @param $id
779
+	 * @param integer $id
773 780
 	 * @return array
774 781
 	 * @throws ShareNotFound
775 782
 	 */
Please login to merge, or discard this patch.