X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/0afa417b0a9f1648e3c400f341ffa14c8b96599d..refs/pull/711/head:/app/Services/AttachmentService.php diff --git a/app/Services/AttachmentService.php b/app/Services/AttachmentService.php index 9403b86ed..381e44749 100644 --- a/app/Services/AttachmentService.php +++ b/app/Services/AttachmentService.php @@ -14,7 +14,9 @@ class AttachmentService extends UploadService */ protected function getStorage() { - if ($this->storageInstance !== null) return $this->storageInstance; + if ($this->storageInstance !== null) { + return $this->storageInstance; + } $storageType = config('filesystems.default'); @@ -205,5 +207,4 @@ class AttachmentService extends UploadService return $attachmentPath; } - -} \ No newline at end of file +}