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:
@ -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));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user