Code Duplication    Length = 5-5 lines in 2 locations

eZ/Publish/Core/Persistence/Cache/ContentHandler.php 2 locations

@@ 97-101 (lines=5) @@
94
        return $this->getMultipleCacheItems(
95
            $contentIds,
96
            'ez-content-',
97
            function (array $cacheMissIds) use ($translations) {
98
                $this->logger->logCall(__CLASS__ . '::loadContentList', ['content' => $cacheMissIds]);
99
100
                return $this->persistenceHandler->contentHandler()->loadContentList($cacheMissIds, $translations);
101
            },
102
            function (Content $content) {
103
                return $this->getCacheTagsForContent($content);
104
            },
@@ 133-137 (lines=5) @@
130
        return $this->getMultipleCacheItems(
131
            $contentIds,
132
            'ez-content-info-',
133
            function (array $cacheMissIds) {
134
                $this->logger->logCall(__CLASS__ . '::loadContentInfoList', ['content' => $cacheMissIds]);
135
136
                return $this->persistenceHandler->contentHandler()->loadContentInfoList($cacheMissIds);
137
            },
138
            function (ContentInfo $info) {
139
                return $this->getCacheTags($info);
140
            }