From 796db96ca6864f4af63b3e7ca91108b50ca52a31 Mon Sep 17 00:00:00 2001 From: Denny Lubitz Date: Mon, 16 Dec 2024 10:42:16 +0100 Subject: [PATCH] BUGFIX: Allow width and height to be empty on export --- .../src/Asset/ValueObject/SerializedImageVariant.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Neos.ContentRepository.Export/src/Asset/ValueObject/SerializedImageVariant.php b/Neos.ContentRepository.Export/src/Asset/ValueObject/SerializedImageVariant.php index 529d1bc0ac6..b3371b7baa1 100644 --- a/Neos.ContentRepository.Export/src/Asset/ValueObject/SerializedImageVariant.php +++ b/Neos.ContentRepository.Export/src/Asset/ValueObject/SerializedImageVariant.php @@ -10,8 +10,8 @@ private function __construct( public string $identifier, public string $originalAssetIdentifier, public string $name, - public int $width, - public int $height, + public ?int $width, + public ?int $height, public ?string $presetIdentifier, public ?string $presetVariantName, public SerializedImageAdjustments $imageAdjustments,