Code Duplication    Length = 10-13 lines in 2 locations

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

@@ 85-94 (lines=10) @@
82
    /**
83
     * {@inheritdoc}
84
     */
85
    public function copy($contentId, $versionNo = null, $newOwnerId = null)
86
    {
87
        $this->logger->logCall(__METHOD__, array(
88
            'content' => $contentId,
89
            'version' => $versionNo,
90
            'newOwner' => $newOwnerId,
91
        ));
92
93
        return $this->persistenceHandler->contentHandler()->copy($contentId, $versionNo, $newOwnerId);
94
    }
95
96
    /**
97
     * {@inheritdoc}
@@ 348-360 (lines=13) @@
345
    /**
346
     * {@inheritdoc}
347
     */
348
    public function loadRelations($sourceContentId, $sourceContentVersionNo = null, $type = null)
349
    {
350
        $this->logger->logCall(
351
            __METHOD__,
352
            array(
353
                'content' => $sourceContentId,
354
                'version' => $sourceContentVersionNo,
355
                'type' => $type,
356
            )
357
        );
358
359
        return $this->persistenceHandler->contentHandler()->loadRelations($sourceContentId, $sourceContentVersionNo, $type);
360
    }
361
362
    /**
363
     * {@inheritdoc}