mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-11-03 02:13:16 +03:00 
			
		
		
		
	Removed bad trailing comma in method
This commit is contained in:
		@@ -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_');
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user