diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-03-05 16:25:08 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-03-05 16:25:08 -0100 |
commit | 1bd6e3f44f93669ea87501601224de0c9613fb8e (patch) | |
tree | 1a3b57bc2a08f8fa16368f394aca51a1ae82c265 /lib/Service | |
parent | f74702f440ab25dc1ff6b854e69a56cbc467f3c1 (diff) |
fixing & cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Service')
-rw-r--r-- | lib/Service/CurlService.php | 1 | ||||
-rw-r--r-- | lib/Service/DocumentService.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/Service/CurlService.php b/lib/Service/CurlService.php index 8499bc3b..376283e8 100644 --- a/lib/Service/CurlService.php +++ b/lib/Service/CurlService.php @@ -135,6 +135,7 @@ class CurlService { * @throws RequestServerException * @throws SocialAppConfigException * @throws ItemUnknownException + * @throws RequestResultNotJsonException */ public function retrieveAccount(string $account): Person { $result = $this->webfingerAccount($account); diff --git a/lib/Service/DocumentService.php b/lib/Service/DocumentService.php index e2579b95..7b208a59 100644 --- a/lib/Service/DocumentService.php +++ b/lib/Service/DocumentService.php @@ -181,6 +181,7 @@ class DocumentService { * @throws CacheContentException * @throws CacheDocumentDoesNotExistException * @throws MalformedArrayException + * @throws RequestResultNotJsonException */ public function getFromCache(string $id, bool $public = false) { $document = $this->cacheRemoteDocument($id, $public); |