Code Duplication    Length = 5-5 lines in 2 locations

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

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