diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-04-20 13:04:35 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-05-03 16:31:15 -0100 |
commit | e70f67cea9666047d168e7c6f1326f3b7c96c8b0 (patch) | |
tree | add3620fef22f7bce72047ecbfd95e488322fe8e /lib/Db/FollowsRequest.php | |
parent | 9038dc4fb44b6404da5e2f7e7d303c81c186e669 (diff) |
small fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Db/FollowsRequest.php')
-rw-r--r-- | lib/Db/FollowsRequest.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Db/FollowsRequest.php b/lib/Db/FollowsRequest.php index 6c9855a9..ec8a7582 100644 --- a/lib/Db/FollowsRequest.php +++ b/lib/Db/FollowsRequest.php @@ -33,6 +33,7 @@ namespace OCA\Social\Db; use daita\MySmallPhpTools\Traits\TArrayTools; use DateTime; +use Exception; use OCA\Social\Exceptions\FollowDoesNotExistException; use OCA\Social\Model\ActivityPub\Object\Follow; use OCP\DB\QueryBuilder\IQueryBuilder; @@ -53,6 +54,8 @@ class FollowsRequest extends FollowsRequestBuilder { * Insert a new Note in the database. * * @param Follow $follow + * + * @throws Exception */ public function save(Follow $follow) { $qb = $this->getFollowsInsertSql(); |