X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/fdbbcf2b8a088d50aa9fd427082ae8c5cf97fb56..refs/pull/5592/head:/app/Uploads/ImageService.php diff --git a/app/Uploads/ImageService.php b/app/Uploads/ImageService.php index 038e6aa41..4d6d49197 100644 --- a/app/Uploads/ImageService.php +++ b/app/Uploads/ImageService.php @@ -31,8 +31,8 @@ class ImageService UploadedFile $uploadedFile, string $type, int $uploadedTo = 0, - int $resizeWidth = null, - int $resizeHeight = null, + ?int $resizeWidth = null, + ?int $resizeHeight = null, bool $keepRatio = true, string $imageName = '', ): Image {