Code Duplication    Length = 4-4 lines in 2 locations

Core/Matcher/ContentMatcher.php 2 locations

@@ 50-53 (lines=4) @@
47
        if (count($conditions) === 1) {
48
            $key = array_keys($conditions)[0];
49
            switch ($key) {
50
                case self::MATCH_CONTENT_ID:
51
                    $location = $this->repository->getContentService()->loadContent($conditions[$key]);
52
                    return new ContentCollection(array($location));
53
                    break;
54
55
                case self::MATCH_CONTENT_REMOTE_ID:
56
                    $location = $this->repository->getContentService()->loadContentByRemoteId($conditions[$key]);
@@ 55-58 (lines=4) @@
52
                    return new ContentCollection(array($location));
53
                    break;
54
55
                case self::MATCH_CONTENT_REMOTE_ID:
56
                    $location = $this->repository->getContentService()->loadContentByRemoteId($conditions[$key]);
57
                    return new ContentCollection(array($location));
58
                    break;
59
            }
60
        }
61