summaryrefslogtreecommitdiffstats
path: root/lib/Db/NewsMapperV2.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Db/NewsMapperV2.php')
-rw-r--r--lib/Db/NewsMapperV2.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Db/NewsMapperV2.php b/lib/Db/NewsMapperV2.php
index be5695598..2896d9052 100644
--- a/lib/Db/NewsMapperV2.php
+++ b/lib/Db/NewsMapperV2.php
@@ -88,10 +88,11 @@ abstract class NewsMapperV2 extends QBMapper
* Find all items for a user.
*
* @param string $userId ID of the user
+ * @param array $params Filter parameters
*
* @return Entity[]
*/
- abstract public function findAllFromUser(string $userId): array;
+ abstract public function findAllFromUser(string $userId, array $params = []): array;
/**
* Find item for a user.