From d23751ff80d45965033245bb0a1fb229b50443e4 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 8 Jan 2025 15:45:13 +1100 Subject: [PATCH] Minor fixes --- app/Services/Pdf/PdfBuilder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/Pdf/PdfBuilder.php b/app/Services/Pdf/PdfBuilder.php index 1ab9597066a..9cb1412cbb9 100644 --- a/app/Services/Pdf/PdfBuilder.php +++ b/app/Services/Pdf/PdfBuilder.php @@ -830,7 +830,7 @@ public function buildTableBody(string $type): array $last_visible = array_key_last($visible_elements); // Add class to first visible cell - if (!isset($element['elements'][$first_visible]['properties']['class'])) { + if (!isset($element['elements'][$first_visible]['properties']['class'])) { //@phpstan-ignore-line $element['elements'][$first_visible]['properties']['class'] = 'left-radius'; } else { $element['elements'][$first_visible]['properties']['class'] .= ' left-radius'; @@ -1089,7 +1089,7 @@ public function buildTableHeader(string $type): array $last_visible = array_key_last($visible_elements); // Add class to first visible element - if (!isset($elements[$first_visible]['properties']['class'])) { + if (!isset($elements[$first_visible]['properties']['class'])) {//@phpstan-ignore-line $elements[$first_visible]['properties']['class'] = 'left-radius'; } else { $elements[$first_visible]['properties']['class'] .= 'left-radius';