diff --git a/Classes/ViewHelpers/Form/UploadedImageViewHelper.php b/Classes/ViewHelpers/Form/UploadedImageViewHelper.php index 281d4ae..e7deb1c 100644 --- a/Classes/ViewHelpers/Form/UploadedImageViewHelper.php +++ b/Classes/ViewHelpers/Form/UploadedImageViewHelper.php @@ -77,7 +77,7 @@ public function render(): string * @throws \Neos\Flow\Property\Exception * @throws \Neos\Flow\Security\Exception */ - protected function getUploadedImage(): Image + protected function getUploadedImage(): ?Image { if ($this->getMappingResultsForProperty()->hasErrors()) { return null;