summaryrefslogtreecommitdiffstats
path: root/lib/Service
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-09-25 14:37:32 +0200
committerMaxence Lange <maxence@artificial-owl.com>2019-09-25 14:37:32 +0200
commit06d12a24ddd186942d2eca741fe89c853c11fc2c (patch)
tree837ef0c0ce8a784a0ff54e923376829e7c756312 /lib/Service
parent7a92cf157420a558e054dfd92bebc81896da018f (diff)
fixing
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Service')
-rw-r--r--lib/Service/AccountService.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Service/AccountService.php b/lib/Service/AccountService.php
index 774c5772..94b7bce0 100644
--- a/lib/Service/AccountService.php
+++ b/lib/Service/AccountService.php
@@ -38,6 +38,7 @@ use OCA\Social\Db\FollowsRequest;
use OCA\Social\Db\StreamRequest;
use OCA\Social\Exceptions\AccountAlreadyExistsException;
use OCA\Social\Exceptions\ActorDoesNotExistException;
+use OCA\Social\Exceptions\ItemAlreadyExistsException;
use OCA\Social\Exceptions\ItemUnknownException;
use OCA\Social\Exceptions\SocialAppConfigException;
use OCA\Social\Exceptions\UrlCloudException;
@@ -161,6 +162,7 @@ class AccountService {
* @throws NoUserException
* @throws SocialAppConfigException
* @throws UrlCloudException
+ * @throws ItemAlreadyExistsException
*/
public function getActorFromUserId(string $userId, bool $create = false): Person {
$this->miscService->confirmUserId($userId);
@@ -192,6 +194,7 @@ class AccountService {
* @param string $username
*
* @throws AccountAlreadyExistsException
+ * @throws ItemAlreadyExistsException
* @throws NoUserException
* @throws SocialAppConfigException
* @throws UrlCloudException
@@ -238,6 +241,7 @@ class AccountService {
*
* @throws SocialAppConfigException
* @throws UrlCloudException
+ * @throws ItemAlreadyExistsException
*/
public function cacheLocalActorByUsername(string $username) {
try {