Completed
Pull Request — master (#439)
by Joas
01:52
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/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/Model/GlobalScale/GSEvent.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
 
96 96
 	/**
97
-	 * @param mixed $type
97
+	 * @param string $type
98 98
 	 *
99 99
 	 * @return GSEvent
100 100
 	 */
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.
lib/Model/BaseCircle.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -406,7 +406,7 @@  discard block
 block discarded – undo
406 406
 	}
407 407
 
408 408
 	/**
409
-	 * @return string
409
+	 * @return integer
410 410
 	 */
411 411
 	public function getType() {
412 412
 		return $this->type;
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
 	}
461 461
 
462 462
 	/**
463
-	 * @return array
463
+	 * @return Member[]
464 464
 	 */
465 465
 	public function getGroups() {
466 466
 		return $this->groups;
@@ -478,7 +478,7 @@  discard block
 block discarded – undo
478 478
 	}
479 479
 
480 480
 	/**
481
-	 * @return array
481
+	 * @return FederatedLink[]
482 482
 	 */
483 483
 	public function getLinks() {
484 484
 		return $this->links;
@@ -514,7 +514,7 @@  discard block
 block discarded – undo
514 514
 //	}
515 515
 
516 516
 	/**
517
-	 * @param integer|string $type
517
+	 * @param string $type
518 518
 	 *
519 519
 	 * @return integer
520 520
 	 */
Please login to merge, or discard this patch.
lib/Service/ConfigService.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -440,6 +440,7 @@
 block discarded – undo
440 440
 	 * @param string $type
441 441
 	 *
442 442
 	 * @throws GSStatusException
443
+	 * @return string
443 444
 	 */
444 445
 	public function getGSStatus(string $type = '') {
445 446
 		$enabled = $this->config->getSystemValueBool('gs.enabled', false);
Please login to merge, or discard this patch.
lib/Service/GSUpstreamService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -349,7 +349,7 @@
 block discarded – undo
349 349
 
350 350
 
351 351
 	/**
352
-	 * @param array $circles
352
+	 * @param Circle[] $circles
353 353
 	 *
354 354
 	 * @throws GSStatusException
355 355
 	 */
Please login to merge, or discard this patch.
lib/GlobalScale/GSMount/Mount.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 	/**
57 57
 	 * Mount constructor.
58 58
 	 *
59
-	 * @param $storage
59
+	 * @param string $storage
60 60
 	 * @param string $mountPoint
61 61
 	 * @param array $options
62 62
 	 * @param MountManager $manager
@@ -90,8 +90,8 @@  discard block
 block discarded – undo
90 90
 	/**
91 91
 	 * Remove the mount points
92 92
 	 *
93
-	 * @return mixed
94
-	 * @return bool
93
+	 * @return boolean
94
+	 * @return boolean
95 95
 	 */
96 96
 	public function removeMount() {
97 97
 		return $this->mountManager->unshare($this->gsShareId);
Please login to merge, or discard this patch.
lib/GlobalScale/FileShare.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
 	 * @param $fileName
258 258
 	 * @param string $link
259 259
 	 * @param string $author
260
-	 * @param $circleName
260
+	 * @param string $circleName
261 261
 	 * @param string $email
262 262
 	 *
263 263
 	 * @throws Exception
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
 	 * @param string $circleName
295 295
 	 * @param string $email
296 296
 	 *
297
-	 * @param $password
297
+	 * @param string $password
298 298
 	 *
299 299
 	 * @throws NotFoundException
300 300
 	 * @throws Exception
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
 	 * @param $subject
372 372
 	 * @param $text
373 373
 	 * @param $fileName
374
-	 * @param $link
374
+	 * @param string $link
375 375
 	 * @param string $author
376 376
 	 * @param string $circleName
377 377
 	 *
Please login to merge, or discard this patch.