summaryrefslogtreecommitdiffstats
path: root/lib/Service/ItemServiceV2.php
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2021-03-01 21:10:46 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-03-31 22:39:00 +0200
commit78dce7ffe18665bf083ff69631db8ae128a2b99f (patch)
tree1f4e61970b7461afd968552f4bccef53daedbb93 /lib/Service/ItemServiceV2.php
parent17f773b723538eedf5bd2efcb8d2c85783d7050f (diff)
DB: Updates should use set()
Issue GH-1211 Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Service/ItemServiceV2.php')
-rw-r--r--lib/Service/ItemServiceV2.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Service/ItemServiceV2.php b/lib/Service/ItemServiceV2.php
index fafd5e558..57804a8c3 100644
--- a/lib/Service/ItemServiceV2.php
+++ b/lib/Service/ItemServiceV2.php
@@ -217,11 +217,11 @@ class ItemServiceV2 extends Service
* @param string $userId Item owner
* @param int $maxItemId
*
- * @return void
+ * @return int
*/
- public function readAll(string $userId, int $maxItemId): void
+ public function readAll(string $userId, int $maxItemId): int
{
- $this->mapper->readAll($userId, $maxItemId);
+ return $this->mapper->readAll($userId, $maxItemId);
}
/**