Code Duplication    Length = 6-6 lines in 2 locations

lib/Activity/Provider.php 2 locations

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