]> BookStack Code Mirror - bookstack/commitdiff
Removed bad trailing comma in method 3499/head
authorDan Brown <redacted>
Sun, 19 Jun 2022 17:45:48 +0000 (18:45 +0100)
committerDan Brown <redacted>
Sun, 19 Jun 2022 17:45:48 +0000 (18:45 +0100)
app/Entities/Tools/Cloner.php

index ad9ec01ec2a3a0be484af14d96e816d1ce4bd0df..92b62a7547a7422785d09b7c4317d31cec9ec19a 100644 (file)
@@ -122,7 +122,7 @@ class Cloner
      * Convert an image instance to an UploadedFile instance to mimic
      * a file being uploaded.
      */
-    protected function imageToUploadedFile(Image $image,): ?UploadedFile
+    protected function imageToUploadedFile(Image $image): ?UploadedFile
     {
         $imgData = $this->imageService->getImageData($image);
         $tmpImgFilePath = tempnam(sys_get_temp_dir(), 'bs_cover_clone_');