summaryrefslogtreecommitdiffstats
path: root/lib/Db/Mysql/ItemMapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Db/Mysql/ItemMapper.php')
-rw-r--r--lib/Db/Mysql/ItemMapper.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Db/Mysql/ItemMapper.php b/lib/Db/Mysql/ItemMapper.php
index 88c87038e..5ad3baf79 100644
--- a/lib/Db/Mysql/ItemMapper.php
+++ b/lib/Db/Mysql/ItemMapper.php
@@ -36,6 +36,8 @@ class ItemMapper extends \OCA\News\Db\ItemMapper
* starred items
*
* @param int $threshold the number of items that should be deleted
+ *
+ * @return void
*/
public function deleteReadOlderThanThreshold($threshold)
{
@@ -70,6 +72,9 @@ class ItemMapper extends \OCA\News\Db\ItemMapper
}
}
+ /**
+ * @return void
+ */
public function readItem($itemId, $isRead, $lastModified, $userId)
{
$item = $this->find($itemId, $userId);