Code Duplication    Length = 6-6 lines in 2 locations

lib/Activity/Provider.php 2 locations

@@ 363-368 (lines=6) @@
360
361
		switch ($event->getSubject()) {
362
363
			case 'group_link':
364
				return $this->parseCircleMemberEvent(
365
					$event, $circle, $group,
366
					$this->l10n->t('You linked {group} to {circle}'),
367
					$this->l10n->t('{group} has been linked to {circle} by {author}')
368
				);
369
370
			case 'group_unlink':
371
				return $this->parseCircleMemberEvent(
@@ 370-375 (lines=6) @@
367
					$this->l10n->t('{group} has been linked to {circle} by {author}')
368
				);
369
370
			case 'group_unlink':
371
				return $this->parseCircleMemberEvent(
372
					$event, $circle, $group,
373
					$this->l10n->t('You unlinked {group} from {circle}'),
374
					$this->l10n->t('{group} has been unlinked from {circle} by {author}')
375
				);
376
377
			case 'group_level':
378
				$level = [$this->l10n->t($group->getLevelString())];