]> BookStack Code Mirror - bookstack/blobdiff - app/Uploads/AttachmentService.php
Applied changes from styleci
[bookstack] / app / Uploads / AttachmentService.php
index c957e8beafb29ee1277bd858e01ba08fe4132f70..3de0a0dae98c4f08abdc6755eac689e3774cc2ca 100644 (file)
@@ -75,6 +75,7 @@ class AttachmentService
 
     /**
      * Store a new attachment upon user upload.
+     *
      * @throws FileUploadException
      */
     public function saveNewUpload(UploadedFile $uploadedFile, int $page_id): Attachment
@@ -174,6 +175,7 @@ class AttachmentService
 
     /**
      * Delete a File from the database and storage.
+     *
      * @throws Exception
      */
     public function deleteFile(Attachment $attachment)
@@ -205,6 +207,7 @@ class AttachmentService
 
     /**
      * Store a file in storage with the given filename.
+     *
      * @throws FileUploadException
      */
     protected function putFileInStorage(UploadedFile $uploadedFile): string