Code Duplication    Length = 10-10 lines in 3 locations

eZ/Publish/Core/Persistence/Cache/BookmarkHandler.php 1 location

@@ 82-91 (lines=10) @@
79
    /**
80
     * {@inheritdoc}
81
     */
82
    public function loadUserBookmarks(int $userId, int $offset = 0, int $limit = -1): array
83
    {
84
        $this->logger->logCall(__METHOD__, [
85
            'userId' => $userId,
86
            'offset' => $offset,
87
            'limit' => $limit,
88
        ]);
89
90
        return $this->persistenceHandler->bookmarkHandler()->loadUserBookmarks($userId, $offset, $limit);
91
    }
92
93
    /**
94
     * {@inheritdoc}

eZ/Publish/Core/Persistence/Cache/NotificationHandler.php 1 location

@@ 154-163 (lines=10) @@
151
    /**
152
     * {@inheritdoc}
153
     */
154
    public function loadUserNotifications(int $userId, int $offset, int $limit): array
155
    {
156
        $this->logger->logCall(__METHOD__, [
157
            'ownerId' => $userId,
158
            'offset' => $offset,
159
            'limit' => $limit,
160
        ]);
161
162
        return $this->persistenceHandler->notificationHandler()->loadUserNotifications($userId, $offset, $limit);
163
    }
164
}
165

eZ/Publish/Core/Persistence/Cache/LocationHandler.php 1 location

@@ 208-217 (lines=10) @@
205
    /**
206
     * {@inheritdoc}
207
     */
208
    public function copySubtree($sourceId, $destinationParentId, $newOwnerId = null)
209
    {
210
        $this->logger->logCall(__METHOD__, array(
211
            'source' => $sourceId,
212
            'destination' => $destinationParentId,
213
            'newOwner' => $newOwnerId,
214
        ));
215
216
        return $this->persistenceHandler->locationHandler()->copySubtree($sourceId, $destinationParentId, $newOwnerId);
217
    }
218
219
    /**
220
     * {@inheritdoc}