diff options
Diffstat (limited to 'lib/Model/ActivityPub/Object/Image.php')
-rw-r--r-- | lib/Model/ActivityPub/Object/Image.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Model/ActivityPub/Object/Image.php b/lib/Model/ActivityPub/Object/Image.php index 466b906a..17bdbf94 100644 --- a/lib/Model/ActivityPub/Object/Image.php +++ b/lib/Model/ActivityPub/Object/Image.php @@ -32,6 +32,7 @@ namespace OCA\Social\Model\ActivityPub\Object; use JsonSerializable; +use OCA\Social\Exceptions\InvalidOriginException; use OCA\Social\Exceptions\UrlCloudException; use OCA\Social\Model\ActivityPub\ACore; @@ -63,6 +64,7 @@ class Image extends Document implements JsonSerializable { * @param array $data * * @throws UrlCloudException + * @throws InvalidOriginException */ public function import(array $data) { parent::import($data); |