Code Duplication    Length = 6-8 lines in 2 locations

lib/Activity/Provider.php 2 locations

@@ 377-384 (lines=8) @@
374
					$this->l10n->t('{author} changed {member}\'s level in {circle} to %1$s', $level)
375
				);
376
377
			case 'member_request_invitation':
378
				return $this->parseMemberEvent(
379
					$event, $circle, $member,
380
					$this->l10n->t('You sent a request to join {circle}'),
381
					$this->l10n->t('{member} sent a request to join {circle}')
382
				);
383
384
			case 'member_owner':
385
				return $this->parseMemberEvent(
386
					$event, $circle, $member,
387
					$this->l10n->t('You are the new owner of {circle}'),
@@ 384-389 (lines=6) @@
381
					$this->l10n->t('{member} sent a request to join {circle}')
382
				);
383
384
			case 'member_owner':
385
				return $this->parseMemberEvent(
386
					$event, $circle, $member,
387
					$this->l10n->t('You are the new owner of {circle}'),
388
					$this->l10n->t('{member} is the new owner of {circle}')
389
				);
390
		}
391
392
		throw new InvalidArgumentException();