Completed
Pull Request — master (#4136)
by Björn
55:10 queued 43:31
created
apps/sharebymail/lib/ShareByMailProvider.php 1 patch
Doc Comments   +13 added lines, -4 removed lines patch added patch discarded remove patch
@@ -191,10 +191,10 @@  discard block
 block discarded – undo
191 191
 	 * publish activity if a file/folder was shared by mail
192 192
 	 *
193 193
 	 * @param $subject
194
-	 * @param $parameters
195
-	 * @param $affectedUser
194
+	 * @param string[] $parameters
195
+	 * @param string $affectedUser
196 196
 	 * @param $fileId
197
-	 * @param $filePath
197
+	 * @param string $filePath
198 198
 	 */
199 199
 	protected function publishActivity($subject, $parameters, $affectedUser, $fileId, $filePath) {
200 200
 		$event = $this->activityManager->generateEvent();
@@ -246,6 +246,12 @@  discard block
 block discarded – undo
246 246
 
247 247
 	}
248 248
 
249
+	/**
250
+	 * @param string $link
251
+	 * @param string $owner
252
+	 * @param string $initiator
253
+	 * @param string $shareWith
254
+	 */
249 255
 	protected function sendMailNotification($filename, $link, $owner, $initiator, $shareWith) {
250 256
 		$ownerUser = $this->userManager->get($owner);
251 257
 		$initiatorUser = $this->userManager->get($initiator);
@@ -275,6 +281,7 @@  discard block
 block discarded – undo
275 281
 	 * @param $link
276 282
 	 * @param $owner
277 283
 	 * @param $initiator
284
+	 * @param string $template
278 285
 	 * @return string plain text mail
279 286
 	 * @throws HintException
280 287
 	 */
@@ -302,6 +309,7 @@  discard block
 block discarded – undo
302 309
 	 * @param string $filename
303 310
 	 * @param string $initiator
304 311
 	 * @param string $shareWith
312
+	 * @param string $password
305 313
 	 */
306 314
 	protected function sendPassword($filename, $initiator, $shareWith, $password) {
307 315
 		$initiatorUser = $this->userManager->get($initiator);
@@ -325,6 +333,7 @@  discard block
 block discarded – undo
325 333
 	 * @param string $filename
326 334
 	 * @param string $initiator
327 335
 	 * @param string $password
336
+	 * @param string $template
328 337
 	 * @return string plain text mail
329 338
 	 * @throws HintException
330 339
 	 */
@@ -775,7 +784,7 @@  discard block
 block discarded – undo
775 784
 	/**
776 785
 	 * get database row of a give share
777 786
 	 *
778
-	 * @param $id
787
+	 * @param integer $id
779 788
 	 * @return array
780 789
 	 * @throws ShareNotFound
781 790
 	 */
Please login to merge, or discard this patch.