1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Updated composer deps, applied latest StyleCI changes

This commit is contained in:
Dan Brown
2022-04-24 18:22:40 +01:00
parent 63cb6015a8
commit 2b0ae23da0
14 changed files with 182 additions and 186 deletions

View File

@ -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));
}