Completed
Pull Request — master (#1998)
by Björn
20:32 queued 12:01
created
apps/sharebymail/lib/ShareByMailProvider.php 1 patch
Doc Comments   +11 added lines, -4 removed lines patch added patch discarded remove patch
@@ -184,10 +184,10 @@  discard block
 block discarded – undo
184 184
 	 * publish activity if a file/folder was shared by mail
185 185
 	 *
186 186
 	 * @param $subject
187
-	 * @param $parameters
188
-	 * @param $affectedUser
187
+	 * @param string[] $parameters
188
+	 * @param string $affectedUser
189 189
 	 * @param $fileId
190
-	 * @param $filePath
190
+	 * @param string $filePath
191 191
 	 */
192 192
 	protected function publishActivity($subject, $parameters, $affectedUser, $fileId, $filePath) {
193 193
 		$event = $this->activityManager->generateEvent();
@@ -239,6 +239,12 @@  discard block
 block discarded – undo
239 239
 
240 240
 	}
241 241
 
242
+	/**
243
+	 * @param string $link
244
+	 * @param string $owner
245
+	 * @param string $initiator
246
+	 * @param string $shareWith
247
+	 */
242 248
 	protected function sendMailNotification($filename, $link, $owner, $initiator, $shareWith) {
243 249
 		if ($owner === $initiator) {
244 250
 			$subject = (string)$this->l->t('%s shared »%s« with you', array($owner, $filename));
@@ -264,6 +270,7 @@  discard block
 block discarded – undo
264 270
 	 * @param $link
265 271
 	 * @param $owner
266 272
 	 * @param $initiator
273
+	 * @param string $template
267 274
 	 * @return string plain text mail
268 275
 	 * @throws HintException
269 276
 	 */
@@ -703,7 +710,7 @@  discard block
 block discarded – undo
703 710
 	/**
704 711
 	 * get database row of a give share
705 712
 	 *
706
-	 * @param $id
713
+	 * @param integer $id
707 714
 	 * @return array
708 715
 	 * @throws ShareNotFound
709 716
 	 */
Please login to merge, or discard this patch.
apps/files_sharing/lib/Controller/ShareController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
 	/**
95 95
 	 * Performs a DELETE or UPDATE query to the database.
96 96
 	 * @param \Doctrine\DBAL\Driver\Statement $query
97
-	 * @param array $parameters
97
+	 * @param string[] $parameters
98 98
 	 * @return bool true if at least one row was modified, false otherwise
99 99
 	 */
100 100
 	protected function modify($query, $parameters) {
Please login to merge, or discard this patch.