summaryrefslogtreecommitdiffstats
path: root/db/imapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/imapper.php')
-rw-r--r--db/imapper.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/db/imapper.php b/db/imapper.php
index 9882060f0..18a924e24 100644
--- a/db/imapper.php
+++ b/db/imapper.php
@@ -20,13 +20,15 @@ interface IMapper {
/**
* @param int $id the id of the feed
* @param string $userId the id of the user
+ * @return \OCP\AppFramework\Db\Entity
*/
public function find($id, $userId);
/**
* Delete an entity
* @param Entity $entity the entity that should be deleted
- * @throws ServiceNotFoundException if the entity does not exist, or there
+ * @throws \OCP\AppFramework\Db\DoesNotExistException if the entity does
+ * not exist, or there
* are more than one of it
*/
public function delete(Entity $entity);