diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2021-01-06 20:16:33 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-01-08 22:45:10 +0100 |
commit | 7180e11bdb3f27a1a282a137ca95279b39944b5b (patch) | |
tree | 17fd8152b8fabcb760395b45b5e47e66022304a9 /lib/Db/Mysql | |
parent | cc582c5dc8f5c5ec7052f4e2cab8530b9307afaa (diff) |
fixes done by psalm
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'lib/Db/Mysql')
-rw-r--r-- | lib/Db/Mysql/ItemMapper.php | 5 |
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); |