summaryrefslogtreecommitdiffstats
path: root/lib/Service/FolderServiceV2.php
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2022-03-18 11:00:17 +0100
committerBenjamin Brahmer <info@b-brahmer.de>2022-03-18 11:54:02 +0100
commitc49e0fb4f43d6bda80eae9d075ff49e346e1dee4 (patch)
tree1d60eac0f532259010a10d559d402099d40577b9 /lib/Service/FolderServiceV2.php
parent409640818b3fb7d1ff4855d9665eb2eea4cfaee7 (diff)
rename maxItemId to newestItemId to match docs
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'lib/Service/FolderServiceV2.php')
-rw-r--r--lib/Service/FolderServiceV2.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Service/FolderServiceV2.php b/lib/Service/FolderServiceV2.php
index 17d955876..1e710a37b 100644
--- a/lib/Service/FolderServiceV2.php
+++ b/lib/Service/FolderServiceV2.php
@@ -184,17 +184,17 @@ class FolderServiceV2 extends Service
*
* @param string $userId Folder owner
* @param int $id Folder ID
- * @param int|null $maxItemID Highest item ID to mark as read
+ * @param int|null $newestItemId Highest item ID to mark as read
*
* @return int
*
* @throws ServiceConflictException
* @throws ServiceNotFoundException
*/
- public function read(string $userId, int $id, ?int $maxItemID = null): int
+ public function read(string $userId, int $id, ?int $newestItemId = null): int
{
$folder = $this->find($userId, $id);
- return $this->mapper->read($userId, $folder->getId(), $maxItemID);
+ return $this->mapper->read($userId, $folder->getId(), $newestItemId);
}
}