diff --git a/app/Services/PdfMaker/PdfMakerUtilities.php b/app/Services/PdfMaker/PdfMakerUtilities.php index 5258ffba3b00..9954f0374020 100644 --- a/app/Services/PdfMaker/PdfMakerUtilities.php +++ b/app/Services/PdfMaker/PdfMakerUtilities.php @@ -88,7 +88,7 @@ trait PdfMakerUtilities return $processed; } - public function updateElementProperty($element, string $attribute, string $value) + public function updateElementProperty($element, string $attribute, ?string $value) { // We have exception for "hidden" property. // hidden="true" or hidden="false" will both hide the element,