]> BookStack Code Mirror - bookstack/blobdiff - app/Services/UploadService.php
Added ability to configure email sender name
[bookstack] / app / Services / UploadService.php
index 44d4bb4f7d020a6ae967fdfc48e8fc333aa3ed8c..cd05675599dc1c4696d262022d961671d0067975 100644 (file)
@@ -32,7 +32,9 @@ class UploadService
      */
     protected function getStorage()
     {
-        if ($this->storageInstance !== null) return $this->storageInstance;
+        if ($this->storageInstance !== null) {
+            return $this->storageInstance;
+        }
 
         $storageType = config('filesystems.default');
         $this->storageInstance = $this->fileSystem->disk($storageType);
@@ -40,7 +42,6 @@ class UploadService
         return $this->storageInstance;
     }
 
-
     /**
      * Check whether or not a folder is empty.
      * @param $path
@@ -61,4 +62,4 @@ class UploadService
     {
         return strtolower(config('filesystems.default')) === 'local';
     }
-}
\ No newline at end of file
+}