Code Duplication    Length = 6-8 lines in 2 locations

lib/Activity/Provider.php 2 locations

@@ 228-235 (lines=8) @@
225
					$this->l10n->t('{author} changed {member}\'s level in {circle} to %1$s', $level)
226
				);
227
228
			case 'member_request_invitation':
229
				return $this->parseMemberEvent(
230
					$event, $circle, $member,
231
					$this->l10n->t('You requested an invitation into {circle}'),
232
					$this->l10n->t(
233
						'{member} has requested an invitation into {circle}'
234
					)
235
				);
236
237
			case 'member_owner':
238
				return $this->parseMemberEvent(
@@ 237-242 (lines=6) @@
234
					)
235
				);
236
237
			case 'member_owner':
238
				return $this->parseMemberEvent(
239
					$event, $circle, $member,
240
					$this->l10n->t('You are the new owner of {circle}'),
241
					$this->l10n->t('{member} is the new owner of {circle}')
242
				);
243
		}
244
245
		throw new InvalidArgumentException();