Completed
Pull Request — master (#439)
by Joas
01:52
created
lib/Service/MembersService.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 	 *
149 149
 	 * @param bool $force
150 150
 	 *
151
-	 * @return array
151
+	 * @return Member[]
152 152
 	 * @throws Exception
153 153
 	 */
154 154
 	public function addMember($circleUniqueId, $ident, $type, string $instance, bool $force = false) {
@@ -313,8 +313,8 @@  discard block
 block discarded – undo
313 313
 	/**
314 314
 	 * Verify if a local account is valid.
315 315
 	 *
316
-	 * @param $ident
317
-	 * @param $type
316
+	 * @param string $ident
317
+	 * @param integer $type
318 318
 	 *
319 319
 	 * @param string $instance
320 320
 	 *
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
 	 * Verify if a mail have a valid format.
340 340
 	 *
341 341
 	 * @param $ident
342
-	 * @param $type
342
+	 * @param integer $type
343 343
 	 *
344 344
 	 * @throws EmailAccountInvalidFormatException
345 345
 	 */
@@ -366,8 +366,8 @@  discard block
 block discarded – undo
366 366
 	/**
367 367
 	 * Verify if a contact exist in current user address books.
368 368
 	 *
369
-	 * @param $ident
370
-	 * @param $type
369
+	 * @param string $ident
370
+	 * @param integer $type
371 371
 	 *
372 372
 	 * @throws NoUserException
373 373
 	 * @throws EmailAccountInvalidFormatException
@@ -458,8 +458,8 @@  discard block
 block discarded – undo
458 458
 	 * Will return any data of a user related to a circle (as a Member). User can be a 'non-member'
459 459
 	 * Viewer needs to be at least Member of the Circle
460 460
 	 *
461
-	 * @param $circleId
462
-	 * @param $userId
461
+	 * @param string $circleId
462
+	 * @param string $userId
463 463
 	 * @param $type
464 464
 	 * @param bool $forceAll
465 465
 	 *
@@ -501,7 +501,7 @@  discard block
 block discarded – undo
501 501
 	 * @param int $level
502 502
 	 * @param bool $force
503 503
 	 *
504
-	 * @return array
504
+	 * @return Member[]
505 505
 	 * @throws CircleDoesNotExistException
506 506
 	 * @throws CircleTypeNotValidException
507 507
 	 * @throws ConfigNoCircleAvailableException
Please login to merge, or discard this patch.
lib/Search/LocalUsers.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
 
84 84
 
85 85
 	/**
86
-	 * @param $search
86
+	 * @param string $search
87 87
 	 *
88 88
 	 * @return array
89 89
 	 */
Please login to merge, or discard this patch.