Completed
Pull Request — master (#462)
by Julius
01:48
created
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/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.
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.
lib/Db/CircleProviderRequestBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
 	 * limit the request to the children of a share
115 115
 	 *
116 116
 	 * @param IQueryBuilder $qb
117
-	 * @param $userId
117
+	 * @param string $userId
118 118
 	 * @param int $parentId
119 119
 	 */
120 120
 	protected function limitToShareChildren(IQueryBuilder $qb, $userId, $parentId = -1) {
Please login to merge, or discard this patch.