Code Duplication    Length = 6-8 lines in 2 locations

lib/Activity/Provider.php 2 locations

@@ 215-222 (lines=8) @@
212
					$this->l10n->t('{author} changed {member}\'s level in {circle} to %1$s', $level)
213
				);
214
215
			case 'member_request_invitation':
216
				return $this->parseMemberEvent(
217
					$circle, $member, $event,
218
					$this->l10n->t('You requested an invitation to {circle}'),
219
					$this->l10n->t(
220
						'{member} has requested an invitation into {circle}'
221
					)
222
				);
223
224
			case 'member_owner':
225
				return $this->parseMemberEvent(
@@ 224-229 (lines=6) @@
221
					)
222
				);
223
224
			case 'member_owner':
225
				return $this->parseMemberEvent(
226
					$circle, $member, $event,
227
					$this->l10n->t('You are the new owner of {circle}'),
228
					$this->l10n->t('{member} is the new owner of {circle}')
229
				);
230
		}
231
232
		throw new InvalidArgumentException();