Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
turbo124 committed Jan 8, 2025
1 parent f855ff3 commit d23751f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Services/Pdf/PdfBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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';
Expand Down

0 comments on commit d23751f

Please sign in to comment.