1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-24 20:02:35 +01:00

Removed bad trailing comma in method

This commit is contained in:
Dan Brown 2022-06-19 18:45:48 +01:00
parent 388343aeb0
commit 8cde362f6f
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

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