| @@ -282,7 +282,7 @@ | ||
| 282 | 282 | * generateEvent() | 
| 283 | 283 | * Create an Activity Event with the basic settings for the app. | 
| 284 | 284 | * | 
| 285 | - * @param $type | |
| 285 | + * @param string $type | |
| 286 | 286 | * | 
| 287 | 287 | * @return \OCP\Activity\IEvent | 
| 288 | 288 | */ | 
| @@ -94,7 +94,7 @@ | ||
| 94 | 94 | } | 
| 95 | 95 | |
| 96 | 96 | /** | 
| 97 | - * @param mixed $type | |
| 97 | + * @param string $type | |
| 98 | 98 | * | 
| 99 | 99 | * @return GSEvent | 
| 100 | 100 | */ | 
| @@ -257,7 +257,7 @@ discard block | ||
| 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 | ||
| 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 | ||
| 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 | * | 
| @@ -83,7 +83,7 @@ | ||
| 83 | 83 | |
| 84 | 84 | |
| 85 | 85 | /** | 
| 86 | - * @param $search | |
| 86 | + * @param string $search | |
| 87 | 87 | * | 
| 88 | 88 | * @return array | 
| 89 | 89 | */ | 
| @@ -114,7 +114,7 @@ | ||
| 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) { | 
| @@ -427,7 +427,7 @@ discard block | ||
| 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 | ||
| 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 | ||
| 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 | * | 
| @@ -714,7 +714,7 @@ discard block | ||
| 714 | 714 | |
| 715 | 715 | |
| 716 | 716 | /** | 
| 717 | - * @param $author | |
| 717 | + * @param string $author | |
| 718 | 718 | * @param string $circleName | 
| 719 | 719 | * | 
| 720 | 720 | * @return IEMailTemplate | 
| @@ -757,8 +757,8 @@ discard block | ||
| 757 | 757 | |
| 758 | 758 | /** | 
| 759 | 759 | * @param IEMailTemplate $emailTemplate | 
| 760 | - * @param $author | |
| 761 | - * @param $recipient | |
| 760 | + * @param string $author | |
| 761 | + * @param string $recipient | |
| 762 | 762 | * | 
| 763 | 763 | * @throws Exception | 
| 764 | 764 | */ | 
| @@ -316,7 +316,7 @@ discard block | ||
| 316 | 316 | * returns the index of a specific UserID in a Members List | 
| 317 | 317 | * | 
| 318 | 318 | * @param array $members | 
| 319 | - * @param $userId | |
| 319 | + * @param string $userId | |
| 320 | 320 | * | 
| 321 | 321 | * @return int | 
| 322 | 322 | */ | 
| @@ -656,6 +656,9 @@ discard block | ||
| 656 | 656 | } | 
| 657 | 657 | |
| 658 | 658 | |
| 659 | + /** | |
| 660 | + * @param string $groupId | |
| 661 | + */ | |
| 659 | 662 |  	public function unlinkAllFromGroup($groupId) { | 
| 660 | 663 | $qb = $this->getMembersDeleteSql(); | 
| 661 | 664 | |
| @@ -178,7 +178,7 @@ | ||
| 178 | 178 | |
| 179 | 179 | /** | 
| 180 | 180 | * @param array $arr | 
| 181 | - * @param $key | |
| 181 | + * @param string $key | |
| 182 | 182 | * @param int $type | 
| 183 | 183 | * | 
| 184 | 184 | * @return null|DeprecatedMember | 
| @@ -41,6 +41,9 @@ | ||
| 41 | 41 |  class DeprecatedMember extends BaseMember { | 
| 42 | 42 | |
| 43 | 43 | |
| 44 | + /** | |
| 45 | + * @param integer $circleType | |
| 46 | + */ | |
| 44 | 47 |  	public function inviteToCircle($circleType) { | 
| 45 | 48 | |
| 46 | 49 |  		if ($circleType === 0) { | 
| @@ -31,9 +31,7 @@ | ||
| 31 | 31 | use OCA\Circles\Exceptions\MemberCantJoinCircleException; | 
| 32 | 32 | use OCA\Circles\Exceptions\MemberDoesNotExistException; | 
| 33 | 33 | use OCA\Circles\Exceptions\MemberIsBlockedException; | 
| 34 | -use OCA\Circles\Exceptions\MemberIsNotAdminException; | |
| 35 | 34 | use OCA\Circles\Exceptions\MemberIsNotModeratorException; | 
| 36 | -use OCA\Circles\Exceptions\MemberIsNotOwnerException; | |
| 37 | 35 | use OCA\Circles\Exceptions\MemberIsOwnerException; | 
| 38 | 36 | use OCA\Circles\Exceptions\MemberTypeCantEditLevelException; | 
| 39 | 37 | use OCA\Circles\Exceptions\ModeratorIsNotHighEnoughException; |