Code Duplication    Length = 6-8 lines in 2 locations

lib/Activity/Provider.php 2 locations

@@ 237-244 (lines=8) @@
234
					$this->l10n->t('{author} changed {member}\'s level in {circle} to %1$s', $level)
235
				);
236
237
			case 'member_request_invitation':
238
				return $this->parseMemberEvent(
239
					$event, $circle, $member,
240
					$this->l10n->t('You requested an invitation to {circle}'),
241
					$this->l10n->t(
242
						'{member} has requested an invitation into {circle}'
243
					)
244
				);
245
246
			case 'member_owner':
247
				return $this->parseMemberEvent(
@@ 246-251 (lines=6) @@
243
					)
244
				);
245
246
			case 'member_owner':
247
				return $this->parseMemberEvent(
248
					$event, $circle, $member,
249
					$this->l10n->t('You are the new owner of {circle}'),
250
					$this->l10n->t('{member} is the new owner of {circle}')
251
				);
252
		}
253
254
		throw new InvalidArgumentException();