diff options
author | Sean Molenaar <sean@seanmolenaar.eu> | 2020-09-29 13:54:17 +0200 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2020-09-29 14:56:07 +0200 |
commit | 35b53ecd404a74edea3c6866e451c4819bdc9ea8 (patch) | |
tree | dac46834d8fa7ec0122243f94604c3d2215b4d22 /lib/Service/Service.php | |
parent | d6d169be15913404f99b86c39a03bc71942c9f77 (diff) |
OPML export command and fixes
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Service/Service.php')
-rw-r--r-- | lib/Service/Service.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Service/Service.php b/lib/Service/Service.php index 33397bc0f..04965af4b 100644 --- a/lib/Service/Service.php +++ b/lib/Service/Service.php @@ -52,11 +52,12 @@ abstract class Service /** * Finds all items of a user * - * @param string $userId the name of the user + * @param string $userId The ID/name of the user + * @param array $params Filter parameters * * @return Entity[] */ - abstract public function findAllForUser(string $userId): array; + abstract public function findAllForUser(string $userId, array $params = []): array; /** * Finds all items @@ -89,7 +90,7 @@ abstract class Service * @param int $id the id of the entity * @param string $userId the name of the user for security reasons * - * @return \OCP\AppFramework\Db\Entity the entity + * @return Entity the entity * @throws ServiceNotFoundException if the entity does not exist, or there * are more than one of it */ |