Code Duplication    Length = 6-8 lines in 2 locations

lib/Activity/Provider.php 2 locations

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