Completed
Pull Request — master (#603)
by John
02:40
created
lib/Db/CoreRequestBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
 
111 111
 
112 112
 	/**
113
-	 * @param array $ids
113
+	 * @param string[] $ids
114 114
 	 *
115 115
 	 * @throws InvalidIdException
116 116
 	 */
Please login to merge, or discard this patch.
lib/Command/CirclesTest.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -884,7 +884,6 @@  discard block
 block discarded – undo
884 884
 	 * @param int $expected
885 885
 	 * @param int $compare
886 886
 	 * @param string $def
887
-	 * @param array $params
888 887
 	 * @param bool $force
889 888
 	 *
890 889
 	 * @throws Exception
@@ -1016,7 +1015,7 @@  discard block
 block discarded – undo
1016 1015
 
1017 1016
 
1018 1017
 	/**
1019
-	 * @param $instanceId
1018
+	 * @param string $instanceId
1020 1019
 	 *
1021 1020
 	 * @return array
1022 1021
 	 * @throws ItemNotFoundException
Please login to merge, or discard this patch.
lib/Db/DeprecatedRequestBuilder.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
 	 * Limit the request to the owner
177 177
 	 *
178 178
 	 * @param IQueryBuilder $qb
179
-	 * @param $owner
179
+	 * @param string $owner
180 180
 	 */
181 181
 	protected function limitToOwner(IQueryBuilder $qb, $owner) {
182 182
 		$this->limitToDBField($qb, 'owner', $owner);
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
 	 *
343 343
 	 * @param IQueryBuilder $qb
344 344
 	 * @param int $level
345
-	 * @param string|array $pf
345
+	 * @param string[] $pf
346 346
 	 */
347 347
 	protected function limitToLevel(IQueryBuilder $qb, int $level, $pf = '') {
348 348
 		$expr = $qb->expr();
@@ -419,7 +419,7 @@  discard block
 block discarded – undo
419 419
 	/**
420 420
 	 * @param IQueryBuilder $qb
421 421
 	 * @param string $field
422
-	 * @param string|integer $value
422
+	 * @param string $value
423 423
 	 */
424 424
 	private function limitToDBFieldOrGreater(IQueryBuilder $qb, $field, $value) {
425 425
 		$expr = $qb->expr();
Please login to merge, or discard this patch.
lib/Model/ShareWrapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -557,7 +557,7 @@
 block discarded – undo
557 557
 	 * @param IUserManager $userManager
558 558
 	 * @param IURLGenerator $urlGenerator
559 559
 	 *
560
-	 * @return IShare
560
+	 * @return null|Share
561 561
 	 * @throws IllegalIDChangeException
562 562
 	 */
563 563
 	public function getShare(
Please login to merge, or discard this patch.
lib/Service/GSUpstreamService.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -179,7 +179,6 @@  discard block
 block discarded – undo
179 179
 	/**
180 180
 	 * @param GSEvent $event
181 181
 	 * @param string $instance
182
-	 * @param string $protocol
183 182
 	 *
184 183
 	 * @throws RequestContentException
185 184
 	 * @throws RequestNetworkException
@@ -328,7 +327,7 @@  discard block
 block discarded – undo
328 327
 
329 328
 
330 329
 	/**
331
-	 * @param array $sync
330
+	 * @param DeprecatedCircle[] $sync
332 331
 	 */
333 332
 	public function synchronize(array $sync) {
334 333
 		if (!$this->configService->isGSAvailable()) {
Please login to merge, or discard this patch.
lib/Service/MemberService.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,6 @@
 block discarded – undo
211 211
 
212 212
 	/**
213 213
 	 * @param string $circleId
214
-	 * @param IFederatedUser[] $members
215 214
 	 *
216 215
 	 * @return FederatedUser[]
217 216
 	 * @throws CircleNotFoundException
Please login to merge, or discard this patch.
lib/Service/MiscService.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,6 +66,9 @@  discard block
 block discarded – undo
66 66
 		$this->userManager = $userManager;
67 67
 	}
68 68
 
69
+	/**
70
+	 * @param string $message
71
+	 */
69 72
 	public function log($message, $level = 4) {
70 73
 		$data = array(
71 74
 			'app'   => $this->appName,
@@ -86,7 +89,7 @@  discard block
 block discarded – undo
86 89
 
87 90
 	/**
88 91
 	 * @param $arr
89
-	 * @param $k
92
+	 * @param string $k
90 93
 	 *
91 94
 	 * @param string $default
92 95
 	 *
@@ -257,7 +260,7 @@  discard block
 block discarded – undo
257 260
 
258 261
 
259 262
 	/**
260
-	 * @param $ident
263
+	 * @param string $ident
261 264
 	 *
262 265
 	 * @return mixed|string
263 266
 	 * @deprecated
Please login to merge, or discard this patch.
lib/ShareByCircleProviderDeprecated.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -438,8 +438,8 @@
 block discarded – undo
438 438
 
439 439
 	/**
440 440
 	 * @param string $userId
441
-	 * @param $shareType
442
-	 * @param Node $node
441
+	 * @param integer $shareType
442
+	 * @param Node|null $node
443 443
 	 * @param int $limit
444 444
 	 * @param int $offset
445 445
 	 *
Please login to merge, or discard this patch.
tests/unit/lib/Api/CirclesTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -861,7 +861,7 @@
 block discarded – undo
861 861
 	/**
862 862
 	 * function to generate admin/moderator/member and assigning them their level.
863 863
 	 *
864
-	 * @param $circleId
864
+	 * @param integer $circleId
865 865
 	 * @param bool $isClosed
866 866
 	 *
867 867
 	 * @throws QueryException
Please login to merge, or discard this patch.