Code Duplication    Length = 6-8 lines in 2 locations

lib/Activity/Provider.php 2 locations

@@ 275-282 (lines=8) @@
272
					$this->l10n->t('{author} changed {member}\'s level in {circle} to %1$s', $level)
273
				);
274
275
			case 'member_request_invitation':
276
				return $this->parseMemberEvent(
277
					$event, $circle, $member,
278
					$this->l10n->t('You requested an invitation into {circle}'),
279
					$this->l10n->t(
280
						'{member} has requested an invitation into {circle}'
281
					)
282
				);
283
284
			case 'member_owner':
285
				return $this->parseMemberEvent(
@@ 284-289 (lines=6) @@
281
					)
282
				);
283
284
			case 'member_owner':
285
				return $this->parseMemberEvent(
286
					$event, $circle, $member,
287
					$this->l10n->t('You are the new owner of {circle}'),
288
					$this->l10n->t('{member} is the new owner of {circle}')
289
				);
290
		}
291
292
		throw new InvalidArgumentException();