Skip to content

Commit 8c2de22

Browse files
vidarlSteveb-p
andauthored
Apply suggestions from code review
Co-authored-by: Paweł Niedzielski <[email protected]>
1 parent 023111b commit 8c2de22

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

eZ/Publish/API/Repository/Values/Content/Query/SortClause/BookmarkId.php

-5
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@
1717
*/
1818
class BookmarkId extends SortClause implements FilteringSortClause
1919
{
20-
/**
21-
* Constructs a new BookmarkId SortClause.
22-
*
23-
* @param string $sortDirection
24-
*/
2520
public function __construct(string $sortDirection = Query::SORT_ASC)
2621
{
2722
parent::__construct('id', $sortDirection);

eZ/Publish/Core/Persistence/Legacy/Bookmark/Gateway/ExceptionConversion.php

-8
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@ public function loadBookmarkDataByUserIdAndLocationId(int $userId, array $locati
5959
/**
6060
* @deprecated Please use LocationService::find() and Criterion\IsBookmarked instead.
6161
*
62-
* @param int $userId
63-
* @param int $offset
64-
* @param int $limit
65-
*
6662
* @return array
6763
*/
6864
public function loadUserBookmarks(int $userId, int $offset = 0, int $limit = -1): array
@@ -76,10 +72,6 @@ public function loadUserBookmarks(int $userId, int $offset = 0, int $limit = -1)
7672

7773
/**
7874
* @deprecated Please use LocationService::count() and Criterion\IsBookmarked instead.
79-
*
80-
* @param int $userId
81-
*
82-
* @return int
8375
*/
8476
public function countUserBookmarks(int $userId): int
8577
{

0 commit comments

Comments
 (0)