]> BookStack Code Mirror - bookstack/blobdiff - app/Uploads/ImageService.php
added routes for zip export
[bookstack] / app / Uploads / ImageService.php
index 038e6aa417c839b8f794038ec2bd40545f71e111..4d6d4919742546165dd347ccb98806469bfd3dd0 100644 (file)
@@ -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 {