Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Paweł Niedzielski <pawel.niedzielski@ibexa.co>
  • Loading branch information
vidarl and Steveb-p authored Jun 25, 2024
1 parent 023111b commit 8c2de22
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@
*/
class BookmarkId extends SortClause implements FilteringSortClause
{
/**
* Constructs a new BookmarkId SortClause.
*
* @param string $sortDirection
*/
public function __construct(string $sortDirection = Query::SORT_ASC)
{
parent::__construct('id', $sortDirection);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ public function loadBookmarkDataByUserIdAndLocationId(int $userId, array $locati
/**
* @deprecated Please use LocationService::find() and Criterion\IsBookmarked instead.
*
* @param int $userId
* @param int $offset
* @param int $limit
*
* @return array
*/
public function loadUserBookmarks(int $userId, int $offset = 0, int $limit = -1): array
Expand All @@ -76,10 +72,6 @@ public function loadUserBookmarks(int $userId, int $offset = 0, int $limit = -1)

/**
* @deprecated Please use LocationService::count() and Criterion\IsBookmarked instead.
*
* @param int $userId
*
* @return int
*/
public function countUserBookmarks(int $userId): int
{
Expand Down

0 comments on commit 8c2de22

Please sign in to comment.