Completed
Pull Request — master (#371)
by Tortue
01:51
created
lib/Model/Circle.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
 
147 147
 	/**
148 148
 	 * @param array $arr
149
-	 * @param $key
149
+	 * @param string $key
150 150
 	 * @param int $type
151 151
 	 *
152 152
 	 * @return null|Member
Please login to merge, or discard this patch.
lib/Service/MembersService.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 	 * @param $ident
127 127
 	 * @param int $type
128 128
 	 *
129
-	 * @return array
129
+	 * @return Member[]
130 130
 	 * @throws Exception
131 131
 	 */
132 132
 	public function addMember($circleUniqueId, $ident, $type) {
@@ -285,8 +285,8 @@  discard block
 block discarded – undo
285 285
 	/**
286 286
 	 * Verify if a local account is valid.
287 287
 	 *
288
-	 * @param $ident
289
-	 * @param $type
288
+	 * @param string $ident
289
+	 * @param integer $type
290 290
 	 *
291 291
 	 * @throws NoUserException
292 292
 	 */
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
 	 * Verify if a mail have a valid format.
308 308
 	 *
309 309
 	 * @param $ident
310
-	 * @param $type
310
+	 * @param integer $type
311 311
 	 *
312 312
 	 * @throws EmailAccountInvalidFormatException
313 313
 	 */
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
 	 * Verify if a contact exist in current user address books.
336 336
 	 *
337 337
 	 * @param $ident
338
-	 * @param $type
338
+	 * @param integer $type
339 339
 	 *
340 340
 	 * @throws NoUserException
341 341
 	 * @throws EmailAccountInvalidFormatException
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
 	 * @param int $type
455 455
 	 * @param int $level
456 456
 	 *
457
-	 * @return array
457
+	 * @return Member[]
458 458
 	 * @throws Exception
459 459
 	 */
460 460
 	public function levelMember($circleUniqueId, $name, $type, $level) {
@@ -485,7 +485,7 @@  discard block
 block discarded – undo
485 485
 	/**
486 486
 	 * @param Circle $circle
487 487
 	 * @param Member $member
488
-	 * @param $level
488
+	 * @param integer $level
489 489
 	 *
490 490
 	 * @throws Exception
491 491
 	 */
@@ -560,9 +560,9 @@  discard block
 block discarded – undo
560 560
 	/**
561 561
 	 * @param string $circleUniqueId
562 562
 	 * @param string $name
563
-	 * @param $type
563
+	 * @param integer $type
564 564
 	 *
565
-	 * @return array
565
+	 * @return Member[]
566 566
 	 * @throws Exception
567 567
 	 */
568 568
 	public function removeMember($circleUniqueId, $name, $type) {
Please login to merge, or discard this patch.
lib/Model/BaseCircle.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -400,7 +400,7 @@  discard block
 block discarded – undo
400 400
 	}
401 401
 
402 402
 	/**
403
-	 * @return string
403
+	 * @return integer
404 404
 	 */
405 405
 	public function getType() {
406 406
 		return $this->type;
@@ -425,7 +425,7 @@  discard block
 block discarded – undo
425 425
 	}
426 426
 
427 427
 	/**
428
-	 * @param array $members
428
+	 * @param Member[] $members
429 429
 	 *
430 430
 	 * @return BaseCircle
431 431
 	 */
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
 	}
437 437
 
438 438
 	/**
439
-	 * @return array
439
+	 * @return Member[]
440 440
 	 */
441 441
 	public function getMembers() {
442 442
 		return $this->members;
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
 	}
455 455
 
456 456
 	/**
457
-	 * @return array
457
+	 * @return Member[]
458 458
 	 */
459 459
 	public function getGroups() {
460 460
 		return $this->groups;
@@ -472,7 +472,7 @@  discard block
 block discarded – undo
472 472
 	}
473 473
 
474 474
 	/**
475
-	 * @return array
475
+	 * @return FederatedLink[]
476 476
 	 */
477 477
 	public function getLinks() {
478 478
 		return $this->links;
@@ -508,7 +508,7 @@  discard block
 block discarded – undo
508 508
 //	}
509 509
 
510 510
 	/**
511
-	 * @param integer|string $type
511
+	 * @param string $type
512 512
 	 *
513 513
 	 * @return integer
514 514
 	 */
Please login to merge, or discard this patch.
lib/Db/MembersRequest.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
 	 * returns the index of a specific UserID in a Members List
233 233
 	 *
234 234
 	 * @param array $members
235
-	 * @param $userId
235
+	 * @param string $userId
236 236
 	 *
237 237
 	 * @return int
238 238
 	 */
@@ -545,6 +545,9 @@  discard block
 block discarded – undo
545 545
 	}
546 546
 
547 547
 
548
+	/**
549
+	 * @param string $groupId
550
+	 */
548 551
 	public function unlinkAllFromGroup($groupId) {
549 552
 		$qb = $this->getGroupsDeleteSql($groupId);
550 553
 		$qb->execute();
@@ -575,8 +578,6 @@  discard block
 block discarded – undo
575 578
 	/**
576 579
 	 * @param string $circleId
577 580
 	 * @param string $contactId
578
-	 * @param string $userId
579
-	 * @param int $type
580 581
 	 *
581 582
 	 * @return Member
582 583
 	 * @throws MemberDoesNotExistException
Please login to merge, or discard this patch.
lib/Circles/FileSharingBroadcaster.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
 	 * @param Circle $circle
345 345
 	 * @param IShare $share
346 346
 	 * @param string $address
347
-	 * @param string $token
347
+	 * @param SharesToken $token
348 348
 	 *
349 349
 	 * @return bool
350 350
 	 */
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
 	 * @param $fileName
428 428
 	 * @param string $link
429 429
 	 * @param string $author
430
-	 * @param $circleName
430
+	 * @param string $circleName
431 431
 	 * @param string $email
432 432
 	 *
433 433
 	 * @throws Exception
@@ -464,7 +464,7 @@  discard block
 block discarded – undo
464 464
 	 * @param string $circleName
465 465
 	 * @param string $email
466 466
 	 *
467
-	 * @param $password
467
+	 * @param string $password
468 468
 	 *
469 469
 	 * @throws NotFoundException
470 470
 	 * @throws Exception
@@ -546,7 +546,7 @@  discard block
 block discarded – undo
546 546
 	 * @param $subject
547 547
 	 * @param $text
548 548
 	 * @param $fileName
549
-	 * @param $link
549
+	 * @param string $link
550 550
 	 * @param string $author
551 551
 	 * @param string $circleName
552 552
 	 *
@@ -618,10 +618,10 @@  discard block
 block discarded – undo
618 618
 
619 619
 
620 620
 	/**
621
-	 * @param $author
621
+	 * @param string $author
622 622
 	 * @param string $email
623 623
 	 *
624
-	 * @param $password
624
+	 * @param string $password
625 625
 	 *
626 626
 	 * @throws Exception
627 627
 	 */
@@ -715,7 +715,7 @@  discard block
 block discarded – undo
715 715
 
716 716
 
717 717
 	/**
718
-	 * @param $author
718
+	 * @param string $author
719 719
 	 * @param string $circleName
720 720
 	 *
721 721
 	 * @return IEMailTemplate
@@ -758,8 +758,8 @@  discard block
 block discarded – undo
758 758
 
759 759
 	/**
760 760
 	 * @param IEMailTemplate $emailTemplate
761
-	 * @param $author
762
-	 * @param $recipient
761
+	 * @param string $author
762
+	 * @param string $recipient
763 763
 	 *
764 764
 	 * @throws Exception
765 765
 	 */
Please login to merge, or discard this patch.