Code Duplication    Length = 3-3 lines in 2 locations

src/Http/Controllers/RevisionableController.php 2 locations

@@ 62-64 (lines=3) @@
59
    private function getMessage($revision)
60
    {
61
        switch ($revision->key) {
62
            case 'created_at':
63
                return $this->getResponsibleInfo($revision) . ' created user '
64
                    . $this->getAffectedResourceName($revision) . ' (' . $revision->revisionable_id . ')';
65
            case 'deleted_at':
66
                return $this->getResponsibleInfo($revision) . ' deleted user '
67
                    . $this->getAffectedResourceName($revision) . ' (' . $revision->revisionable_id . ')';
@@ 65-67 (lines=3) @@
62
            case 'created_at':
63
                return $this->getResponsibleInfo($revision) . ' created user '
64
                    . $this->getAffectedResourceName($revision) . ' (' . $revision->revisionable_id . ')';
65
            case 'deleted_at':
66
                return $this->getResponsibleInfo($revision) . ' deleted user '
67
                    . $this->getAffectedResourceName($revision) . ' (' . $revision->revisionable_id . ')';
68
            default:
69
                return $this->getResponsibleInfo($revision) . ' changed user '
70
                    . $this->getAffectedResourceName($revision) . ' (' . $revision->revisionable_id . ')'