diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-01-15 12:30:02 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-01-15 12:30:02 -0100 |
commit | 5d484977179086dcdb34dec61c6b74176166525b (patch) | |
tree | 2902d2ceb97ffda5f394dc984329d10396017e3c /lib/Service/CacheActorService.php | |
parent | daf473c9a0d7e46a38576419f00e81e7221e6a0a (diff) |
+RequestResultNotJsonException
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Service/CacheActorService.php')
-rw-r--r-- | lib/Service/CacheActorService.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Service/CacheActorService.php b/lib/Service/CacheActorService.php index d4e4473f..4b4e2308 100644 --- a/lib/Service/CacheActorService.php +++ b/lib/Service/CacheActorService.php @@ -40,6 +40,7 @@ use OCA\Social\Exceptions\InvalidOriginException; use OCA\Social\Exceptions\InvalidResourceException; use OCA\Social\Exceptions\RedundancyLimitException; use OCA\Social\Exceptions\RequestContentException; +use OCA\Social\Exceptions\RequestResultNotJsonException; use OCA\Social\Exceptions\RetrieveAccountFormatException; use OCA\Social\Exceptions\RequestNetworkException; use OCA\Social\Exceptions\RequestResultSizeException; @@ -120,6 +121,7 @@ class CacheActorService { * @throws RequestServerException * @throws SocialAppConfigException * @throws ItemUnknownException + * @throws RequestResultNotJsonException */ public function getFromId(string $id, bool $refresh = false): Person { @@ -188,6 +190,7 @@ class CacheActorService { * @throws RequestServerException * @throws SocialAppConfigException * @throws ItemUnknownException + * @throws RequestResultNotJsonException */ public function getFromAccount(string $account, bool $retrieve = true): Person { |