Code Duplication    Length = 6-8 lines in 2 locations

lib/Activity/Provider.php 2 locations

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