Code Duplication    Length = 10-13 lines in 2 locations

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

@@ 104-113 (lines=10) @@
101
    /**
102
     * {@inheritdoc}
103
     */
104
    public function copy($contentId, $versionNo = null, $newOwnerId = null)
105
    {
106
        $this->logger->logCall(__METHOD__, array(
107
            'content' => $contentId,
108
            'version' => $versionNo,
109
            'newOwner' => $newOwnerId,
110
        ));
111
112
        return $this->persistenceHandler->contentHandler()->copy($contentId, $versionNo, $newOwnerId);
113
    }
114
115
    /**
116
     * {@inheritdoc}
@@ 373-385 (lines=13) @@
370
    /**
371
     * {@inheritdoc}
372
     */
373
    public function loadRelations($sourceContentId, $sourceContentVersionNo = null, $type = null)
374
    {
375
        $this->logger->logCall(
376
            __METHOD__,
377
            array(
378
                'content' => $sourceContentId,
379
                'version' => $sourceContentVersionNo,
380
                'type' => $type,
381
            )
382
        );
383
384
        return $this->persistenceHandler->contentHandler()->loadRelations($sourceContentId, $sourceContentVersionNo, $type);
385
    }
386
387
    /**
388
     * {@inheritdoc}