Code Duplication    Length = 6-8 lines in 2 locations

lib/Activity/Provider.php 2 locations

@@ 430-437 (lines=8) @@
427
					$this->l10n->t('{author} changed {member}\'s level in {circle} to %1$s', $level)
428
				);
429
430
			case 'member_request_invitation':
431
				return $this->parseMemberEvent(
432
					$event, $circle, $member,
433
					$this->l10n->t('You sent a request to join {circle}'),
434
					$this->l10n->t('{member} sent a request to join {circle}')
435
				);
436
437
			case 'member_owner':
438
				return $this->parseMemberEvent(
439
					$event, $circle, $member,
440
					$this->l10n->t('You are the new owner of {circle}'),
@@ 437-442 (lines=6) @@
434
					$this->l10n->t('{member} sent a request to join {circle}')
435
				);
436
437
			case 'member_owner':
438
				return $this->parseMemberEvent(
439
					$event, $circle, $member,
440
					$this->l10n->t('You are the new owner of {circle}'),
441
					$this->l10n->t('{member} is the new owner of {circle}')
442
				);
443
		}
444
445
		throw new InvalidArgumentException();