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}
@@ 311-323 (lines=13) @@
308
    /**
309
     * {@inheritdoc}
310
     */
311
    public function loadRelations($sourceContentId, $sourceContentVersionNo = null, $type = null)
312
    {
313
        $this->logger->logCall(
314
            __METHOD__,
315
            array(
316
                'content' => $sourceContentId,
317
                'version' => $sourceContentVersionNo,
318
                'type' => $type,
319
            )
320
        );
321
322
        return $this->persistenceHandler->contentHandler()->loadRelations($sourceContentId, $sourceContentVersionNo, $type);
323
    }
324
325
    /**
326
     * {@inheritdoc}