From ceb8637310dfd78dd5536f69757dd2b2a96eccd0 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 7 Jan 2021 17:24:02 +1100 Subject: [PATCH] fix for type --- app/Services/PdfMaker/PdfMakerUtilities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,