Code Duplication    Length = 10-13 lines in 2 locations

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

@@ 98-107 (lines=10) @@
95
    /**
96
     * {@inheritdoc}
97
     */
98
    public function copy($contentId, $versionNo = null, $newOwnerId = null)
99
    {
100
        $this->logger->logCall(__METHOD__, [
101
            'content' => $contentId,
102
            'version' => $versionNo,
103
            'newOwner' => $newOwnerId,
104
        ]);
105
106
        return $this->persistenceHandler->contentHandler()->copy($contentId, $versionNo, $newOwnerId);
107
    }
108
109
    /**
110
     * {@inheritdoc}
@@ 387-399 (lines=13) @@
384
    /**
385
     * {@inheritdoc}
386
     */
387
    public function loadRelations($sourceContentId, $sourceContentVersionNo = null, $type = null)
388
    {
389
        $this->logger->logCall(
390
            __METHOD__,
391
            [
392
                'content' => $sourceContentId,
393
                'version' => $sourceContentVersionNo,
394
                'type' => $type,
395
            ]
396
        );
397
398
        return $this->persistenceHandler->contentHandler()->loadRelations($sourceContentId, $sourceContentVersionNo, $type);
399
    }
400
401
    /**
402
     * {@inheritdoc}