Code Duplication    Length = 10-13 lines in 2 locations

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

@@ 54-63 (lines=10) @@
51
    /**
52
     * {@inheritdoc}
53
     */
54
    public function copy($contentId, $versionNo = null, $newOwnerId = null)
55
    {
56
        $this->logger->logCall(__METHOD__, array(
57
            'content' => $contentId,
58
            'version' => $versionNo,
59
            'newOwner' => $newOwnerId,
60
        ));
61
62
        return $this->persistenceHandler->contentHandler()->copy($contentId, $versionNo, $newOwnerId);
63
    }
64
65
    /**
66
     * {@inheritdoc}
@@ 321-333 (lines=13) @@
318
    /**
319
     * {@inheritdoc}
320
     */
321
    public function loadRelations($sourceContentId, $sourceContentVersionNo = null, $type = null)
322
    {
323
        $this->logger->logCall(
324
            __METHOD__,
325
            array(
326
                'content' => $sourceContentId,
327
                'version' => $sourceContentVersionNo,
328
                'type' => $type,
329
            )
330
        );
331
332
        return $this->persistenceHandler->contentHandler()->loadRelations($sourceContentId, $sourceContentVersionNo, $type);
333
    }
334
335
    /**
336
     * {@inheritdoc}