]> BookStack Code Mirror - bookstack/blobdiff - app/Services/AttachmentService.php
Added ability to configure email sender name
[bookstack] / app / Services / AttachmentService.php
index 9403b86ed266dbb6ad80da5170ce0e6ae9f360ae..381e44749258ff4ef060d97d9580be18517262f6 100644 (file)
@@ -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
+}