Code Duplication    Length = 6-6 lines in 2 locations

lib/Activity/Provider.php 2 locations

@@ 313-318 (lines=6) @@
310
311
		switch ($event->getSubject()) {
312
313
			case 'group_link':
314
				return $this->parseCircleMemberEvent(
315
					$event, $circle, $group,
316
					$this->l10n->t('You linked {group} to {circle}'),
317
					$this->l10n->t('{group} has been linked to {circle} by {author}')
318
				);
319
320
			case 'group_unlink':
321
				return $this->parseCircleMemberEvent(
@@ 320-325 (lines=6) @@
317
					$this->l10n->t('{group} has been linked to {circle} by {author}')
318
				);
319
320
			case 'group_unlink':
321
				return $this->parseCircleMemberEvent(
322
					$event, $circle, $group,
323
					$this->l10n->t('You unlinked {group} from {circle}'),
324
					$this->l10n->t('{group} has been unlinked from {circle} by {author}')
325
				);
326
327
			case 'group_level':
328
				$level = [$this->l10n->t($group->getLevelString())];