From 84e618d1b6d5131faadc5f9928c981072e269fa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Mon, 10 Aug 2020 12:57:53 +0200 Subject: [PATCH] Remove string requirement from toggleHiddenProperty --- app/Services/PdfMaker/Designs/Utilities/TableHelpers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/PdfMaker/Designs/Utilities/TableHelpers.php b/app/Services/PdfMaker/Designs/Utilities/TableHelpers.php index e3b39b72680f..38f2cb63a2fc 100644 --- a/app/Services/PdfMaker/Designs/Utilities/TableHelpers.php +++ b/app/Services/PdfMaker/Designs/Utilities/TableHelpers.php @@ -70,10 +70,10 @@ trait TableHelpers * Return "true" or "false" based on null or empty check. * We need to return false as string because of HTML parsing. * - * @param string $property + * @param mixed $property * @return string */ - public function toggleHiddenProperty(string $property): string + public function toggleHiddenProperty($property): string { if (is_null($property)) { return 'false';