@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | * @param string $circleUniqueId |
110 | 110 | * @param string $groupId |
111 | 111 | * |
112 | - * @return array |
|
112 | + * @return DeprecatedMember[] |
|
113 | 113 | * @throws \Exception |
114 | 114 | */ |
115 | 115 | public function linkGroup($circleUniqueId, $groupId) { |
@@ -165,8 +165,8 @@ discard block |
||
165 | 165 | /** |
166 | 166 | * Check if a fresh member can be generated (by linkGroup) |
167 | 167 | * |
168 | - * @param $circleId |
|
169 | - * @param $groupId |
|
168 | + * @param string $circleId |
|
169 | + * @param string $groupId |
|
170 | 170 | * |
171 | 171 | * @return null|DeprecatedMember |
172 | 172 | * @throws MemberAlreadyExistsException |
@@ -202,7 +202,7 @@ discard block |
||
202 | 202 | * @param string $groupId |
203 | 203 | * @param int $level |
204 | 204 | * |
205 | - * @return array |
|
205 | + * @return DeprecatedMember[] |
|
206 | 206 | * @throws \Exception |
207 | 207 | */ |
208 | 208 | public function levelGroup($circleUniqueId, $groupId, $level) { |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | /** |
244 | 244 | * @param DeprecatedCircle $circle |
245 | 245 | * @param DeprecatedMember $group |
246 | - * @param $level |
|
246 | + * @param integer $level |
|
247 | 247 | * |
248 | 248 | * @throws \Exception |
249 | 249 | */ |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | * @param string $circleUniqueId |
271 | 271 | * @param string $groupId |
272 | 272 | * |
273 | - * @return array |
|
273 | + * @return DeprecatedMember[] |
|
274 | 274 | * @throws \Exception |
275 | 275 | */ |
276 | 276 | public function unlinkGroup($circleUniqueId, $groupId) { |
@@ -349,8 +349,8 @@ discard block |
||
349 | 349 | /** |
350 | 350 | * Verify if a local account is valid. |
351 | 351 | * |
352 | - * @param $ident |
|
353 | - * @param $type |
|
352 | + * @param string $ident |
|
353 | + * @param integer $type |
|
354 | 354 | * |
355 | 355 | * @param string $instance |
356 | 356 | * |
@@ -401,8 +401,8 @@ discard block |
||
401 | 401 | /** |
402 | 402 | * Verify if a contact exist in current user address books. |
403 | 403 | * |
404 | - * @param $ident |
|
405 | - * @param $type |
|
404 | + * @param string $ident |
|
405 | + * @param integer $type |
|
406 | 406 | * |
407 | 407 | * @throws NoUserException |
408 | 408 | * @throws EmailAccountInvalidFormatException |
@@ -494,8 +494,8 @@ discard block |
||
494 | 494 | * Will return any data of a user related to a circle (as a Member). User can be a 'non-member' |
495 | 495 | * Viewer needs to be at least Member of the Circle |
496 | 496 | * |
497 | - * @param $circleId |
|
498 | - * @param $userId |
|
497 | + * @param string $circleId |
|
498 | + * @param string $userId |
|
499 | 499 | * @param $type |
500 | 500 | * @param bool $forceAll |
501 | 501 | * |
@@ -551,7 +551,7 @@ discard block |
||
551 | 551 | * @param int $level |
552 | 552 | * @param bool $force |
553 | 553 | * |
554 | - * @return array |
|
554 | + * @return DeprecatedMember[] |
|
555 | 555 | * @throws CircleDoesNotExistException |
556 | 556 | * @throws CircleTypeNotValidException |
557 | 557 | * @throws ConfigNoCircleAvailableException |
@@ -111,7 +111,7 @@ |
||
111 | 111 | } |
112 | 112 | |
113 | 113 | /** |
114 | - * @param mixed $class |
|
114 | + * @param string $class |
|
115 | 115 | * |
116 | 116 | * @return self |
117 | 117 | */ |
@@ -110,7 +110,7 @@ |
||
110 | 110 | |
111 | 111 | |
112 | 112 | /** |
113 | - * @param array $ids |
|
113 | + * @param string[] $ids |
|
114 | 114 | * |
115 | 115 | * @throws InvalidIdException |
116 | 116 | */ |
@@ -884,7 +884,6 @@ discard block |
||
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 |
||
1016 | 1015 | |
1017 | 1016 | |
1018 | 1017 | /** |
1019 | - * @param $instanceId |
|
1018 | + * @param string $instanceId |
|
1020 | 1019 | * |
1021 | 1020 | * @return array |
1022 | 1021 | * @throws ItemNotFoundException |
@@ -176,7 +176,7 @@ discard block |
||
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 |
||
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 |
||
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(); |
@@ -557,7 +557,7 @@ |
||
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( |
@@ -179,7 +179,6 @@ discard block |
||
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 |
||
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()) { |
@@ -211,7 +211,6 @@ |
||
211 | 211 | |
212 | 212 | /** |
213 | 213 | * @param string $circleId |
214 | - * @param IFederatedUser[] $members |
|
215 | 214 | * |
216 | 215 | * @return FederatedUser[] |
217 | 216 | * @throws CircleNotFoundException |