X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/cb770c534d4d1ac776fb78126fee7b46f57a2f19..refs/pull/3433/head:/app/Uploads/AttachmentService.php diff --git a/app/Uploads/AttachmentService.php b/app/Uploads/AttachmentService.php index ec02182bb..9d1f96ae4 100644 --- a/app/Uploads/AttachmentService.php +++ b/app/Uploads/AttachmentService.php @@ -76,12 +76,12 @@ class AttachmentService /** * Stream an attachment from storage. * - * @return resource|null * @throws FileNotFoundException + * + * @return resource|null */ public function streamAttachmentFromStorage(Attachment $attachment) { - return $this->getStorageDisk()->readStream($this->adjustPathForStorageDisk($attachment->path)); }